mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1224577: Fix removing frames from the map so chrome windows aren't leaked from every add-on. r=bz
This commit is contained in:
parent
82127c81da
commit
668672baac
@ -194,9 +194,9 @@ const Frame = Class({
|
||||
dispose: function() {
|
||||
emit(this, 'detach', this);
|
||||
ns(this).messageManager.removeMessageListener('sdk/remote/frame/message', ns(this).messageReceived);
|
||||
ns(this).messageManager = null;
|
||||
|
||||
frameMap.delete(ns(this).messageManager);
|
||||
ns(this).messageManager = null;
|
||||
},
|
||||
|
||||
// Returns the browser or iframe element this frame displays in
|
||||
|
Loading…
Reference in New Issue
Block a user