mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-16 08:55:47 +01:00
Flush all caches on :rehash.
This commit is contained in:
@@ -1183,7 +1183,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
rehash: function (args) {
|
||||
storage.session.commandlineArgs = args;
|
||||
this.timeout(function () {
|
||||
this.flushCache();
|
||||
cache.flushAll();
|
||||
this.rehashing = true;
|
||||
let addon = config.addon;
|
||||
addon.userDisabled = true;
|
||||
|
||||
Reference in New Issue
Block a user