mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
potential fix for intermittent crash sending mail, r/sr=sspitzer, 208300
This commit is contained in:
parent
d79b7f1c25
commit
f0ecb8c8f5
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user