release: WRNexusJS 0.6.0
This commit is contained in:
@@ -243,6 +243,16 @@ export const NAV_RUNTIME = String.raw`
|
||||
*/
|
||||
function dispose(root) {
|
||||
unmountPackageRuntimes(root);
|
||||
try {
|
||||
var stores = window.__wrnexusStoreContainer;
|
||||
if (stores && typeof stores.disposePageStores === "function") {
|
||||
Promise.resolve(stores.disposePageStores()).catch(function (error) {
|
||||
console.error("[wrnexus] failed to dispose page stores", error);
|
||||
});
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("[wrnexus] failed to access page stores", error);
|
||||
}
|
||||
try {
|
||||
if (
|
||||
typeof window.__wrnexusDisposeBehaviors ===
|
||||
|
||||
Reference in New Issue
Block a user