fix: flush config on quit, verify temp cleanup, add missing spawn error handlers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
33730fd372
commit
86c80acf28
@ -4201,6 +4201,7 @@ app.on('window-all-closed', () => {
|
||||
if (currentProcess) {
|
||||
currentProcess.kill();
|
||||
}
|
||||
saveConfig(config);
|
||||
flushQueueSave();
|
||||
|
||||
if (process.platform !== 'darwin') {
|
||||
@ -4213,5 +4214,6 @@ app.on('before-quit', () => {
|
||||
cleanupMetadataCaches('shutdown');
|
||||
stopDebugLogFlushTimer(true);
|
||||
stopAutoUpdatePolling();
|
||||
saveConfig(config);
|
||||
flushQueueSave();
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user