mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1072316 - Proxy release of mLoadInfo in WebSocketChannel dtor (r=jduell)
This commit is contained in:
parent
ef6689ab60
commit
aa09be8eb3
@ -1115,6 +1115,12 @@ WebSocketChannel::~WebSocketChannel()
|
||||
mLoadGroup.forget(&forgettableGroup);
|
||||
NS_ProxyRelease(mainThread, forgettableGroup, false);
|
||||
}
|
||||
|
||||
if (mLoadInfo) {
|
||||
nsILoadInfo *forgetableLoadInfo;
|
||||
mLoadInfo.forget(&forgetableLoadInfo);
|
||||
NS_ProxyRelease(mainThread, forgetableLoadInfo, false);
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
Reference in New Issue
Block a user