Send shutdown event correctly

This commit is contained in:
Piro / YUKI Hiroshi 2015-06-12 23:45:47 +09:00
parent 6bdfafd2f8
commit 48ee58e3a2

View File

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