mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Fix assertion from bug 280725 - we now use weak references, so we don't need to explicitly unregister the windows, noted by WeirdAl
This commit is contained in:
parent
3e4e089504
commit
412b1f3b68
@ -785,12 +785,7 @@ function BrowserFlushBookmarksAndHistory()
|
||||
function Shutdown()
|
||||
{
|
||||
// remove remote support
|
||||
if (XREMOTESERVICE_CONTRACTID in Components.classes) {
|
||||
var remoteService;
|
||||
remoteService = Components.classes[XREMOTESERVICE_CONTRACTID]
|
||||
.getService(Components.interfaces.nsIXRemoteService);
|
||||
remoteService.removeBrowserInstance(window);
|
||||
|
||||
if (REMOTESERVICE_CONTRACTID in Components.classes) {
|
||||
var observerService = Components.classes["@mozilla.org/observer-service;1"]
|
||||
.getService(Components.interfaces.nsIObserverService);
|
||||
observerService.removeObserver(gTabOpenObserver, "open-new-tab-request", false);
|
||||
|
Loading…
Reference in New Issue
Block a user