Preferences: Delete menulist observer after disconnecting
This commit is contained in:
parent
38a42d3c91
commit
71a85e4d06
1 changed files with 1 additions and 0 deletions
|
@ -487,6 +487,7 @@ ${str}
|
|||
}
|
||||
if (this._mutationObservers.has(elem)) {
|
||||
this._mutationObservers.get(elem).disconnect();
|
||||
this._mutationObservers.delete(elem);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue