зеркало из https://github.com/mozilla/pjs.git
Remove observer in destructor. r/sr=hewitt
This commit is contained in:
Родитель
ee6f9e0165
Коммит
d7ba09d346
|
@ -77,7 +77,8 @@ function Shutdown ()
|
||||||
win.setAttribute("height", outerHeight);
|
win.setAttribute("height", outerHeight);
|
||||||
win.setAttribute("width", outerWidth);
|
win.setAttribute("width", outerWidth);
|
||||||
|
|
||||||
gBookmarksShell.flushDataSource();
|
var bookmarksView = document.getElementById("bookmarks-view");
|
||||||
|
bookmarksView.flushBMDatasource();
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateSendLinkItem()
|
function updateSendLinkItem()
|
||||||
|
|
|
@ -95,6 +95,9 @@
|
||||||
this._bundle = stringBundleService.createBundle(bundleURL, localeService.GetApplicationLocale());
|
this._bundle = stringBundleService.createBundle(bundleURL, localeService.GetApplicationLocale());
|
||||||
setTimeout(this.refreshSort, 0, this);
|
setTimeout(this.refreshSort, 0, this);
|
||||||
]]></constructor>
|
]]></constructor>
|
||||||
|
<destructor><![CDATA[
|
||||||
|
this.outlinerBuilder.removeObserver(this.builderObserver);
|
||||||
|
]]></destructor>
|
||||||
|
|
||||||
<property name="outlinerBoxObject">
|
<property name="outlinerBoxObject">
|
||||||
<getter><![CDATA[
|
<getter><![CDATA[
|
||||||
|
|
Загрузка…
Ссылка в новой задаче