mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 620615 - New tab-modal alerts can make Firefox unable to quit (part 2). r=dolske, a=blocker
This commit is contained in:
parent
a146f46046
commit
2090798157
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user