Preferences: Delete menulist observer after disconnecting

This commit is contained in:
Abe Jellinek 2024-02-21 12:47:03 -05:00
parent 38a42d3c91
commit 71a85e4d06

View file

@ -487,6 +487,7 @@ ${str}
}
if (this._mutationObservers.has(elem)) {
this._mutationObservers.get(elem).disconnect();
this._mutationObservers.delete(elem);
}
};