1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-05 13:15:47 +01:00

Flush literals from cache on :rehash.

This commit is contained in:
Kris Maglione
2014-02-17 14:33:00 -08:00
parent 48177b7405
commit 512b01d574
3 changed files with 19 additions and 4 deletions

View File

@@ -1366,6 +1366,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
storage.storeForSession("commandlineArgs", args);
this.timeout(function () {
this.flushCache();
cache.flush(bind("test", /^literal:/));
this.rehashing = true;
let addon = config.addon;
addon.userDisabled = true;