Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(desktop): stop the backend when the desktop process dies #13749

Closedmarcuscastelo(GitHub profile, opens in a new tab)wants to merge 5 commits intomain fromrefs/pull/13749/headopened View on GitHub

Showing 12 changed files with 9 additions and 1 deletion (loading 9).

x
0 of 12 viewed, 12 left
1 addition and 0 deletionsapps/desktop/src/backend/DesktopBackendConfiguration.test.tsModified
View file
@@ -1454,6 +1454,7 @@
assert.equal(config.bootstrap.resourceMonitorPath, monitorPath);
assert.equal(config.bootstrap.desktopTelemetryFd, 4);
assert.equal(config.bootstrap.desktopTelemetryControlFd, 5);
+ assert.equal(config.bootstrap.desktopLifetimeFd, 8);
}).pipe(
Effect.provide(
layerBackendConfiguration().pipe(
1 addition and 0 deletionsapps/desktop/src/backend/DesktopBackendConfiguration.tsModified
View file
@@ -527,6 +527,7 @@
desktopTelemetryControlFd: 5,
desktopBrowserFd: 6,
desktopBrowserControlFd: 7,
+ desktopLifetimeFd: 8,
...Option.match(input.resourceMonitorPath, {
onNone: () => ({}),
onSome: (resourceMonitorPath) => ({ resourceMonitorPath }),
7 additions and 1 deletionapps/desktop/src/backend/DesktopBackendManager.test.tsModified
View file
@@ -56,6 +56,9 @@
tailscaleServePort: 443,
desktopTelemetryFd: 4,
desktopTelemetryControlFd: 5,
+ desktopBrowserFd: 6,
+ desktopBrowserControlFd: 7,