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:
@@ -810,7 +810,6 @@ const createChat = async (app: App, options: CreateChatOptions = {}) => {
|
|||||||
const {
|
const {
|
||||||
baseUrl,
|
baseUrl,
|
||||||
workingDir,
|
workingDir,
|
||||||
process: goosedProcess,
|
|
||||||
errorLog,
|
errorLog,
|
||||||
stopErrorLogCollection,
|
stopErrorLogCollection,
|
||||||
startupDiagnosticsPath,
|
startupDiagnosticsPath,
|
||||||
@@ -1161,9 +1160,6 @@ const createChat = async (app: App, options: CreateChatOptions = {}) => {
|
|||||||
windowPowerSaveBlockers.delete(windowId);
|
windowPowerSaveBlockers.delete(windowId);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (goosedProcess && typeof goosedProcess === 'object' && 'kill' in goosedProcess) {
|
|
||||||
goosedProcess.kill();
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
return mainWindow;
|
return mainWindow;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user