fix: stop killing goosed when a window closes (#9302)

Signed-off-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2026-05-19 09:28:31 -04:00
committed by GitHub
parent 1997799a4a
commit 88b5765eac
-4
View File
@@ -810,7 +810,6 @@ const createChat = async (app: App, options: CreateChatOptions = {}) => {
const {
baseUrl,
workingDir,
process: goosedProcess,
errorLog,
stopErrorLogCollection,
startupDiagnosticsPath,
@@ -1161,9 +1160,6 @@ const createChat = async (app: App, options: CreateChatOptions = {}) => {
windowPowerSaveBlockers.delete(windowId);
}
if (goosedProcess && typeof goosedProcess === 'object' && 'kill' in goosedProcess) {
goosedProcess.kill();
}
});
return mainWindow;
};