UPG-100 batch selection: release Copy / Export CSV's last-text hooks with the map's other window hooks on unmount
This commit is contained in:
parent
76f9b6419f
commit
0f824f24cf
1 changed files with 3 additions and 0 deletions
|
|
@ -3088,6 +3088,9 @@ onBeforeUnmount(() => {
|
|||
if (window.__UPG_SEARCH__ === _mySearchHandle) delete window.__UPG_SEARCH__
|
||||
if (window.__UPG_MAP__ === _myMapHandle) delete window.__UPG_MAP__
|
||||
if (window.__UPG_SELECT__ === _mySelectHandle) delete window.__UPG_SELECT__
|
||||
// Copy / Export CSV's last text (the gates read them back); released with the rest of this map's hooks.
|
||||
delete window.__UPG_LAST_CLIPBOARD__
|
||||
delete window.__UPG_LAST_CSV__
|
||||
} catch (_) { /* a frozen or cross-origin window must not break teardown */ }
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue