Broadcast message for content processes correctly when a window is closed

This commit is contained in:
Piro / YUKI Hiroshi 2015-06-12 23:32:38 +09:00
parent 523848a7ed
commit 6bdfafd2f8

View File

@ -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, {