Merge pull request #15151 from calixteman/15149
[Editor] Remove useless and faulty code when destroying the global manager
This commit is contained in:
commit
efbd429115
@ -435,9 +435,6 @@ class AnnotationEditorUIManager {
|
|||||||
layer.destroy();
|
layer.destroy();
|
||||||
}
|
}
|
||||||
this.#allLayers.clear();
|
this.#allLayers.clear();
|
||||||
for (const editor of this.#allEditors.values()) {
|
|
||||||
editor.destroy();
|
|
||||||
}
|
|
||||||
this.#allEditors.clear();
|
this.#allEditors.clear();
|
||||||
this.#activeEditor = null;
|
this.#activeEditor = null;
|
||||||
this.#clipboardManager.destroy();
|
this.#clipboardManager.destroy();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user