Bug 620615 - New tab-modal alerts can make Firefox unable to quit (part 2). r=dolske, a=blocker

This commit is contained in:
Paolo Amadini 2011-01-28 17:21:00 -08:00
parent a146f46046
commit 2090798157

View File

@ -115,6 +115,7 @@
<destructor>
<![CDATA[
if (this.isLive) {
this.Dialog.abortPrompt();
this.shutdownPrompt();
}
]]>
@ -176,9 +177,9 @@
this.linkedTab.removeEventListener("TabClose", this, false);
this.args.domWindow.removeEventListener("pagehide", this, false);
} catch(e) { }
this.isLive = false;
// invoke callback
this.onCloseCallback();
this.isLive = false;
]]>
</body>
</method>