Remove registered event listeners more completely

This commit is contained in:
Piro / YUKI Hiroshi 2015-11-10 02:14:23 +09:00
parent 4b32a22531
commit b98fe4afbc

View File

@ -543,6 +543,8 @@ TreeStyleTabWindow.prototype = inherit(TreeStyleTabBase, {
try { try {
w.removeEventListener('unload', this, false); w.removeEventListener('unload', this, false);
w.TreeStyleTabWindowHelper.destroyToolbarItems();
this.autoHideWindow.destroy(); this.autoHideWindow.destroy();
this._autoHideWindow = undefined; this._autoHideWindow = undefined;