chore: Dont clear the file on shutdown, b=no-bug, c=no-component

This commit is contained in:
mr. m
2026-01-11 20:50:03 +01:00
parent bc4443fda9
commit 0bfac990d2

View File

@@ -76,6 +76,7 @@ export class nsZenSessionManager {
// Called from SessionComponents.manifest on app-startup
init() {
this.log('Initializing session manager');
let profileDir = Services.dirsvc.get('ProfD', Ci.nsIFile).path;
let backupFile = null;
if (SHOULD_BACKUP_FILE) {
@@ -93,7 +94,7 @@ export class nsZenSessionManager {
}
uninit() {
this.#file = null;
this.log('Uninitializing session manager');
this.#deferredBackupTask?.disarm();
this.#deferredBackupTask = null;
}