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:
2
common/bootstrap.js
vendored
2
common/bootstrap.js
vendored
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user