mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
[Editor] Remove useless and faulty code when destroying the global manager
This commit is contained in:
parent
b0a3c9e8cf
commit
cec2172225
1 changed files with 0 additions and 3 deletions
|
@ -435,9 +435,6 @@ class AnnotationEditorUIManager {
|
|||
layer.destroy();
|
||||
}
|
||||
this.#allLayers.clear();
|
||||
for (const editor of this.#allEditors.values()) {
|
||||
editor.destroy();
|
||||
}
|
||||
this.#allEditors.clear();
|
||||
this.#activeEditor = null;
|
||||
this.#clipboardManager.destroy();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue