@bian-womp/spark-remote 0.3.74 → 0.3.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.cjs +2 -2
- package/lib/cjs/index.cjs.map +1 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/index.js.map +1 -1
- package/package.json +3 -3
package/lib/cjs/index.cjs
CHANGED
|
@@ -494,7 +494,7 @@ async function createServerRuntimeAdapter(id, createRegistry, send, extensions)
|
|
|
494
494
|
}
|
|
495
495
|
if (graphRuntime) {
|
|
496
496
|
console.info(`[ServerRuntimeAdapter:${id}] Disposing previous graph runtime before building new one`);
|
|
497
|
-
graphRuntime.dispose();
|
|
497
|
+
graphRuntime.dispose("runtime-rebuild");
|
|
498
498
|
graphRuntime = undefined;
|
|
499
499
|
}
|
|
500
500
|
const environment = opts?.environment || {};
|
|
@@ -734,7 +734,7 @@ async function createServerRuntimeAdapter(id, createRegistry, send, extensions)
|
|
|
734
734
|
engine = undefined;
|
|
735
735
|
}
|
|
736
736
|
if (graphRuntime) {
|
|
737
|
-
graphRuntime.dispose();
|
|
737
|
+
graphRuntime.dispose("adapter-dispose");
|
|
738
738
|
graphRuntime = undefined;
|
|
739
739
|
}
|
|
740
740
|
},
|