Broadcast message for content processes correctly when a window is closed
This commit is contained in:
parent
523848a7ed
commit
6bdfafd2f8
@ -14,7 +14,7 @@
|
|||||||
* The Original Code is the Tree Style Tab.
|
* The Original Code is the Tree Style Tab.
|
||||||
*
|
*
|
||||||
* The Initial Developer of the Original Code is YUKI "Piro" Hiroshi.
|
* The Initial Developer of the Original Code is YUKI "Piro" Hiroshi.
|
||||||
* Portions created by the Initial Developer are Copyright (C) 2014
|
* Portions created by the Initial Developer are Copyright (C) 2014-2015
|
||||||
* the Initial Developer. All Rights Reserved.
|
* the Initial Developer. All Rights Reserved.
|
||||||
*
|
*
|
||||||
* Contributor(s): YUKI "Piro" Hiroshi <piro.outsider.reflex@gmail.com>
|
* Contributor(s): YUKI "Piro" Hiroshi <piro.outsider.reflex@gmail.com>
|
||||||
@ -56,7 +56,7 @@ ContentBridge.install = function CB_installScript(aWindow) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
ContentBridge.uninstall = function CB_installScript(aWindow) {
|
ContentBridge.uninstall = function CB_installScript(aWindow) {
|
||||||
aWindow.messageManager.sendAsyncCommand(TreeStyleTabConstants.COMMAND_SHUTDOWN);
|
aWindow.messageManager.broadcastAsyncCommand(TreeStyleTabConstants.COMMAND_SHUTDOWN);
|
||||||
};
|
};
|
||||||
|
|
||||||
ContentBridge.prototype = inherit(TreeStyleTabConstants, {
|
ContentBridge.prototype = inherit(TreeStyleTabConstants, {
|
||||||
|
Loading…
Reference in New Issue
Block a user