mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 979536 - Part 3: Fix reopening storage tool. r=mratcliffe
This commit is contained in:
parent
f385f4c77a
commit
194355ef5b
@ -64,6 +64,8 @@ StoragePanel.prototype = {
|
||||
destroy: function() {
|
||||
if (!this._destroyed) {
|
||||
this.UI.destroy();
|
||||
// Destroy front to ensure packet handler is removed from client
|
||||
this._front.destroy();
|
||||
this._destroyed = true;
|
||||
|
||||
this._target.off("close", this.destroy);
|
||||
|
@ -96,7 +96,7 @@ StorageUI.prototype = {
|
||||
|
||||
destroy: function() {
|
||||
this.front.off("stores-update", this.onUpdate);
|
||||
this._panelDoc.removeEventListener("keypress", this.handleKeypress)
|
||||
this._panelDoc.removeEventListener("keypress", this.handleKeypress);
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user