co-authored by
Claude Opus 4.6
parent
1d4a13466f
commit
693f7b482a
@@ -286,6 +286,9 @@ export class AppController {
|
||||
this.settings = restoredSettings;
|
||||
saveSettings(this.storagePaths, this.settings);
|
||||
this.manager.setSettings(this.settings);
|
||||
// Stop the manager BEFORE saving the restored session to prevent
|
||||
// the auto-save timer from overwriting it with the old in-memory session.
|
||||
this.manager.stop();
|
||||
const restoredSession = parsed.session as ReturnType<typeof loadSession>;
|
||||
saveSession(this.storagePaths, restoredSession);
|
||||
return { restored: true, message: "Backup wiederhergestellt. Bitte App neustarten." };
|
||||
|
||||
Reference in New Issue
Block a user