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) {
|
if (currentProcess) {
|
||||||
currentProcess.kill();
|
currentProcess.kill();
|
||||||
}
|
}
|
||||||
|
saveConfig(config);
|
||||||
flushQueueSave();
|
flushQueueSave();
|
||||||
|
|
||||||
if (process.platform !== 'darwin') {
|
if (process.platform !== 'darwin') {
|
||||||
@ -4213,5 +4214,6 @@ app.on('before-quit', () => {
|
|||||||
cleanupMetadataCaches('shutdown');
|
cleanupMetadataCaches('shutdown');
|
||||||
stopDebugLogFlushTimer(true);
|
stopDebugLogFlushTimer(true);
|
||||||
stopAutoUpdatePolling();
|
stopAutoUpdatePolling();
|
||||||
|
saveConfig(config);
|
||||||
flushQueueSave();
|
flushQueueSave();
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user