I am going blind. Was calling register rather than unregister function

This commit is contained in:
davidm@netscape.com
1999-06-16 04:13:03 +00:00
parent 1a841bf785
commit b3b68ba8db

View File

@@ -620,7 +620,7 @@ nsAppShellService::UnregisterTopLevelWindow(nsIWebShellWindow* aWindow)
nsIWindowMediator* service;
if (NS_SUCCEEDED(nsServiceManager::GetService(kWindowMediatorCID, kIWindowMediatorIID, (nsISupports**) &service ) ) )
{
service->RegisterWindow( aWindow);
service->UnregisterWindow( aWindow );
nsServiceManager::ReleaseService(kWindowMediatorCID, service);
}