1
0
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:
Kris Maglione
2011-09-30 19:40:20 -04:00
parent e8f99427d1
commit 625c3cef8b
4 changed files with 68 additions and 47 deletions

View File

@@ -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;