@bian-womp/spark-remote 0.3.73 → 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/esm/index.js
CHANGED
|
@@ -492,7 +492,7 @@ async function createServerRuntimeAdapter(id, createRegistry, send, extensions)
|
|
|
492
492
|
}
|
|
493
493
|
if (graphRuntime) {
|
|
494
494
|
console.info(`[ServerRuntimeAdapter:${id}] Disposing previous graph runtime before building new one`);
|
|
495
|
-
graphRuntime.dispose();
|
|
495
|
+
graphRuntime.dispose("runtime-rebuild");
|
|
496
496
|
graphRuntime = undefined;
|
|
497
497
|
}
|
|
498
498
|
const environment = opts?.environment || {};
|
|
@@ -732,7 +732,7 @@ async function createServerRuntimeAdapter(id, createRegistry, send, extensions)
|
|
|
732
732
|
engine = undefined;
|
|
733
733
|
}
|
|
734
734
|
if (graphRuntime) {
|
|
735
|
-
graphRuntime.dispose();
|
|
735
|
+
graphRuntime.dispose("adapter-dispose");
|
|
736
736
|
graphRuntime = undefined;
|
|
737
737
|
}
|
|
738
738
|
},
|