From 48ee58e3a2ea51975a72d04083aafc2824dfbc63 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Fri, 12 Jun 2015 23:45:47 +0900 Subject: [PATCH] Send shutdown event correctly --- modules/contentBridge.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/contentBridge.js b/modules/contentBridge.js index 34c4f264..8a90fd77 100644 --- a/modules/contentBridge.js +++ b/modules/contentBridge.js @@ -56,7 +56,9 @@ ContentBridge.install = function CB_installScript(aWindow) { }; ContentBridge.uninstall = function CB_installScript(aWindow) { - aWindow.messageManager.broadcastAsyncCommand(TreeStyleTabConstants.COMMAND_SHUTDOWN); + aWindow.messageManager.broadcastAsyncMessage(TreeStyleTabConstants.MESSAGE_TYPE, { + command : TreeStyleTabConstants.COMMAND_SHUTDOWN + }); }; ContentBridge.prototype = inherit(TreeStyleTabConstants, {