refactor(instance-store): consolidate dispose helpers (#25424)

This commit is contained in:
Kit Langton
2026-05-02 11:21:40 -04:00
committed by GitHub
parent 31ed4602e1
commit b09b7d28b8
9 changed files with 37 additions and 22 deletions

View File

@@ -88,7 +88,7 @@ export const rpc = {
async shutdown() {
Log.Default.info("worker shutting down")
await InstanceStore.runtime.runPromise((s) => s.disposeAll())
await InstanceStore.disposeAllInstances()
if (server) await server.stop(true)
},
}