icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -25,6 +25,11 @@ NS_INTERFACE_MAP_END
|
|||
|
||||
void TCPServerSocketParent::ReleaseIPDLReference() {
|
||||
MOZ_ASSERT(mIPCOpen);
|
||||
NS_ASSERTION(mIPCOpen,
|
||||
"ReleaseIPDLReference called without matching AddIPDLReference");
|
||||
if (!mIPCOpen) {
|
||||
return;
|
||||
}
|
||||
mIPCOpen = false;
|
||||
this->Release();
|
||||
}
|
||||
|
|
@ -70,8 +75,9 @@ nsresult TCPServerSocketParent::SendCallbackAccept(TCPSocketParent* socket) {
|
|||
|
||||
if (mNeckoParent) {
|
||||
if (mNeckoParent->SendPTCPSocketConstructor(socket, host, port)) {
|
||||
// Call |AddIPDLReference| after the consructor message is sent
|
||||
// successfully, otherwise |socket| could be leaked.
|
||||
// Call |AddIPDLReference| only on success; on failure IPDL calls
|
||||
// DeallocPTCPSocketParent which calls ReleaseIPDLReference, guarded
|
||||
// against the unbalanced case.
|
||||
socket->AddIPDLReference();
|
||||
|
||||
mozilla::Unused << PTCPServerSocketParent::SendCallbackAccept(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue