potential fix for intermittent crash sending mail, r/sr=sspitzer, 208300

This commit is contained in:
bienvenu%netscape.com 2003-06-08 16:53:02 +00:00
parent d79b7f1c25
commit f0ecb8c8f5

View File

@ -1302,11 +1302,11 @@ nsresult nsMsgAsyncWriteProtocol::SetupTransportState()
nsresult nsMsgAsyncWriteProtocol::CloseSocket() nsresult nsMsgAsyncWriteProtocol::CloseSocket()
{ {
nsresult rv = NS_OK; nsresult rv = NS_OK;
nsMsgProtocol::CloseSocket();
if (mAsyncOutStream) if (mAsyncOutStream)
mAsyncOutStream->CloseEx(NS_BINDING_ABORTED); mAsyncOutStream->CloseEx(NS_BINDING_ABORTED);
nsMsgProtocol::CloseSocket();
if (mFilePostHelper) if (mFilePostHelper)
{ {
mFilePostHelper->CloseSocket(); mFilePostHelper->CloseSocket();