pinkerton/scc. appr chofmann. Bug #4127, et al. Fixing ownership models (more work to come).

This commit is contained in:
pinkerton@netscape.com
1999-04-30 09:04:36 +00:00
parent 3aaa79edc9
commit 5ec4702d7e
15 changed files with 300 additions and 401 deletions
+5 -7
View File
@@ -359,14 +359,12 @@ NS_METHOD
nsWebShellWindow::Close()
{
ExitModalLoop();
if ( mWebShell ) {
mWebShell->Destroy();
NS_IF_RELEASE(mWebShell);
}
NS_IF_RELEASE(mWindow);
NS_IF_RELEASE(mWebShell);
/* note: this next Release() seems like the right thing to do, but it doesn't
appear exactly necessary, and we are afraid of possible repercussions
unexplored at this time. ("this time" being a stability release crunch.)
Revisit this later!?
*/
// Release();
nsIAppShellService* appShell;
nsresult rv = nsServiceManager::GetService(kAppShellServiceCID,
kIAppShellServiceIID,