mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 11:15:46 +01:00
Don't run the sanitizer at shutdown unasked.
This commit is contained in:
@@ -242,7 +242,7 @@ const Sanitizer = Module("sanitizer", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakR
|
||||
this.sanitizeItems(null, Range(this.sessionStart), null, "sessionHistory");
|
||||
},
|
||||
"quit-application-granted": function (subject, data) {
|
||||
if (!this.sanitizeItems(null, Range(), null, "shutdown"))
|
||||
if (this.runAtShutdown && !this.sanitizeItems(null, Range(), null, "shutdown"))
|
||||
this.ranAtShutdown = true;
|
||||
},
|
||||
"private-browsing": function (subject, data) {
|
||||
|
||||
Reference in New Issue
Block a user