1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 15:28:00 +01:00

Fix some cleanup issues.

--HG--
branch : bootstrapped
This commit is contained in:
Kris Maglione
2010-12-24 18:32:22 -05:00
parent 2f081bd805
commit d3d60548f1
8 changed files with 176 additions and 138 deletions

2
common/bootstrap.js vendored
View File

@@ -171,10 +171,10 @@ function init() {
function shutdown(data, reason) {
dump("dactyl: bootstrap: shutdown\n");
services.observer.notifyObservers(null, "dactyl-cleanup", null);
for (let factory in values(components))
// TODO: Categories;
factory.unregister();
services.observer.notifyObservers(null, "dactyl-cleanup", null);
}
function reasonToString(reason) {