Remove observer in destructor. r/sr=hewitt

This commit is contained in:
blakeross%telocity.com 2001-12-05 05:36:07 +00:00
parent bbb7ffba72
commit c99a425989
2 changed files with 5 additions and 1 deletions

View File

@ -77,7 +77,8 @@ function Shutdown ()
win.setAttribute("height", outerHeight);
win.setAttribute("width", outerWidth);
gBookmarksShell.flushDataSource();
var bookmarksView = document.getElementById("bookmarks-view");
bookmarksView.flushBMDatasource();
}
function updateSendLinkItem()

View File

@ -95,6 +95,9 @@
this._bundle = stringBundleService.createBundle(bundleURL, localeService.GetApplicationLocale());
setTimeout(this.refreshSort, 0, this);
]]></constructor>
<destructor><![CDATA[
this.outlinerBuilder.removeObserver(this.builderObserver);
]]></destructor>
<property name="outlinerBoxObject">
<getter><![CDATA[