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 {
|
||||
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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user