Bug 1231975 - Part 2: Break a reference cycle between NrTcpSocketIpc and TCPSocketChild, in the same manner as the UDP case. r=mcmanus

MozReview-Commit-ID: FNscaNoeloU

--HG--
extra : rebase_source : 4c4c7878bb6cdd9e291070fc045f698e1a902eff
This commit is contained in:
Byron Campen [:bwc] 2016-04-07 12:51:59 -05:00
parent 98c17059df
commit e0f2cf28b2

View File

@ -127,6 +127,7 @@ TCPSocketChildBase::ReleaseIPDLReference()
{
MOZ_ASSERT(mIPCOpen);
mIPCOpen = false;
mSocket = nullptr;
this->Release();
}