Added comment in nativeDestroyInitContext about bug http://bugzilla.mozilla.org/show_bug.cgi?id=38271

git-svn-id: svn://10.0.0.236/trunk@68391 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2000-05-05 14:02:12 +00:00
parent 70e4e92b99
commit 12b0c6b01b

View File

@@ -120,6 +120,11 @@ Java_org_mozilla_webclient_wrapper_1native_WindowControlImpl_nativeDestroyInitCo
// ((nsISupports *)initContext->docShell)->Release();
initContext->docShell = nsnull;
// ((nsISupports *)initContext->webShell)->Release();
// PENDING(edburns): this is a leak. For some reason, webShell's
// refcount is two. I believe it should be one.
// see http://bugzilla.mozilla.org/show_bug.cgi?id=38271
initContext->webShell = nsnull;
//NOTE we don't de-allocate the global session history here.