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:
bsmedberg%covad.net 2005-04-06 04:17:42 +00:00
Родитель b55b6b953c
Коммит 7f42daa56d
1 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

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