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 rv = NS_OK;
nsMsgProtocol::CloseSocket();
if (mAsyncOutStream)
mAsyncOutStream->CloseEx(NS_BINDING_ABORTED);
nsMsgProtocol::CloseSocket();
if (mFilePostHelper)
{
mFilePostHelper->CloseSocket();