Bug 933984 - Fix "this._mutationObserver is undefined" error on new tab page. r=gavin

This commit is contained in:
Drew Willcoxon 2013-11-04 22:32:33 -08:00
parent f95cc1a74a
commit 2a4e1d38cc

View File

@ -146,6 +146,7 @@ let gPage = {
handleEvent: function Page_handleEvent(aEvent) {
switch (aEvent.type) {
case "unload":
if (this._mutationObserver)
this._mutationObserver.disconnect();
gAllPages.unregister(this);
break;