diff options
author | portix <none@none> | 2013-01-08 14:39:03 +0100 |
---|---|---|
committer | portix <none@none> | 2013-01-08 14:39:03 +0100 |
commit | 541db868ce3df6d1890d4031426d6505b077226b (patch) | |
tree | 01480b72c5901a6424457f7aa23f70b6236598cb /scripts | |
parent | a086ab66867e10bc7dfc8361d4ad174b9fa76b22 (diff) | |
download | dwb-541db868ce3df6d1890d4031426d6505b077226b.zip |
Implementing extensions.disableAll; fixing possible segfault in global_unbind
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/extensions.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/lib/extensions.js b/scripts/lib/extensions.js index 9825c02f..40bf6d6c 100644 --- a/scripts/lib/extensions.js +++ b/scripts/lib/extensions.js @@ -217,6 +217,14 @@ return _unload(name, true); } }, + "disableAll" : + { + value : function() + { + for (var key in _registered) + _unload(key, true); + } + }, "reload" : { value : function () |