allow closing before init

This commit is contained in:
Simon Knott
2025-08-12 15:26:38 +02:00
parent 39c384850f
commit 7a814d5cd4

View File

@@ -88,6 +88,6 @@ export class BrowserServerBackend implements ServerBackend {
}
serverClosed() {
void this._context!.dispose().catch(logUnhandledError);
void this._context?.dispose().catch(logUnhandledError);
}
}