I am going blind. Was calling register rather than unregister function
git-svn-id: svn://10.0.0.236/trunk@35643 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user