Port over a trunk fix.

This commit is contained in:
blakeross%telocity.com 2002-11-06 20:50:52 +00:00
parent 252c7f3e5f
commit be58c57395

View File

@ -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;