mirror of
https://github.com/zen-browser/desktop.git
synced 2026-03-30 12:21:55 +00:00
chore: Dont de-init deferred backup tasks when granting quits for PGO tests, b=no-bug, c=no-component
This commit is contained in:
@@ -7,5 +7,4 @@ category browser-before-ui-startup resource:///modules/zen/ZenSessionManager.sys
|
||||
category browser-before-ui-startup resource:///modules/zen/ZenWindowSync.sys.mjs ZenWindowSync.init
|
||||
|
||||
# App shutdown consumers
|
||||
category browser-quit-application-granted resource:///modules/zen/ZenSessionManager.sys.mjs ZenSessionStore.uninit
|
||||
category browser-quit-application-granted resource:///modules/zen/ZenWindowSync.sys.mjs ZenWindowSync.uninit
|
||||
|
||||
@@ -93,12 +93,6 @@ export class nsZenSessionManager {
|
||||
}, REGENERATION_DEBOUNCE_RATE_MS);
|
||||
}
|
||||
|
||||
uninit() {
|
||||
this.log('Uninitializing session manager');
|
||||
this.#deferredBackupTask?.disarm();
|
||||
this.#deferredBackupTask = null;
|
||||
}
|
||||
|
||||
log(...args) {
|
||||
if (lazy.gShouldLog) {
|
||||
console.info('ZenSessionManager:', ...args);
|
||||
|
||||
Reference in New Issue
Block a user