mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-12 06:35:47 +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");
|
this.sanitizeItems(null, Range(this.sessionStart), null, "sessionHistory");
|
||||||
},
|
},
|
||||||
"quit-application-granted": function (subject, data) {
|
"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;
|
this.ranAtShutdown = true;
|
||||||
},
|
},
|
||||||
"private-browsing": function (subject, data) {
|
"private-browsing": function (subject, data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user