bug 669975 - websockets e10s mLoadGroup member duplicated r=jdm

This commit is contained in:
Patrick McManus 2011-07-07 15:36:37 -04:00
parent 0ef0f28f39
commit 5347af7a72
2 changed files with 6 additions and 1 deletions

View File

@ -568,6 +568,12 @@ WebSocketChannel::~WebSocketChannel()
mContext.forget(&forgettableContext);
NS_ProxyRelease(mainThread, forgettableContext, PR_FALSE);
}
if (mLoadGroup) {
nsILoadGroup *forgettableGroup;
mLoadGroup.forget(&forgettableGroup);
NS_ProxyRelease(mainThread, forgettableGroup, PR_FALSE);
}
}
void

View File

@ -209,7 +209,6 @@ private:
nsCOMPtr<nsIEventTarget> mSocketThread;
nsCOMPtr<nsIHttpChannelInternal> mChannel;
nsCOMPtr<nsIHttpChannel> mHttpChannel;
nsCOMPtr<nsILoadGroup> mLoadGroup;
nsCOMPtr<nsICancelable> mDNSRequest;
nsCOMPtr<nsIAsyncVerifyRedirectCallback> mRedirectCallback;
nsCOMPtr<nsIRandomGenerator> mRandomGenerator;