mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Port over a trunk fix.
This commit is contained in:
parent
252c7f3e5f
commit
be58c57395
@ -480,9 +480,10 @@ function Shutdown()
|
||||
document.persist("sidebar-title", "value");
|
||||
}
|
||||
|
||||
const service = Components.classes["@mozilla.org/observer-service;1"]
|
||||
var service = Components.classes["@mozilla.org/observer-service;1"]
|
||||
.getService(Components.interfaces.nsIObserverService);
|
||||
service.removeObserver(dlObserver, "dl-start");
|
||||
service = null;
|
||||
|
||||
window.XULBrowserWindow.destroy();
|
||||
window.XULBrowserWindow = null;
|
||||
|
Loading…
Reference in New Issue
Block a user