Disable all extensions in reverse order

So we avoid having to disable and enable an extension that is to
be disabled later anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=700784
This commit is contained in:
Tomeu Vizoso 2013-05-21 17:32:39 +02:00
parent e0a6a623d2
commit 88ce65266e

View File

@ -292,7 +292,7 @@ function disableAllExtensions() {
return;
if (initted) {
enabledExtensions.forEach(function(uuid) {
extensionOrder.slice().reverse().forEach(function(uuid) {
disableExtension(uuid);
});
}