Skip to content

The agent that grows with you

fix(desktop): reap timed git trees on in-app relaunch too

kshitijk4poorfddab1ae8a87
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.ts
index 2dd0ec290b8..776258b4182 100644
--- a/apps/desktop/electron/main.ts
+++ b/apps/desktop/electron/main.ts
@@ -12522,6 +12522,8 @@ async function exitAfterBackendShutdown(code) {
// Already logged by backendShutdown; the exit must still happen.
}
+ // app.exit() skips will-quit, and every in-app relaunch lands here.
+ killTimedGitChildren()
app.exit(code)
}