@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 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
  },