fix: dedupe canvas host watcher

This commit is contained in:
Peter Steinberger committed 2026-01-04 15:15:46 +01:00
1 parent ec09b06636
commit 1e555e693a
4 files changed
+65 -9

No files matched your search

+2
View File
@@ -860,6 +860,8 @@ export async function startGatewayServer(
port: canvasHostPort,
listenHost: bridgeHost,
allowInTests: opts.allowCanvasHostInTests,
handler: canvasHost ?? undefined,
ownsHandler: canvasHost ? false : undefined,
});
if (started.port > 0) {
canvasHostServer = started;