Bug 1072316 - Proxy release of mLoadInfo in WebSocketChannel dtor (r=jduell)

This commit is contained in:
Christoph Kerschbaumer 2014-09-25 07:23:27 -07:00
parent ef6689ab60
commit aa09be8eb3

View File

@ -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