From 88ce65266eb5635f8e8ae2a6b45ad8da6e576e28 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 21 May 2013 17:32:39 +0200 Subject: [PATCH] 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 --- js/ui/extensionSystem.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/extensionSystem.js b/js/ui/extensionSystem.js index 8c12e976b..a929451d5 100644 --- a/js/ui/extensionSystem.js +++ b/js/ui/extensionSystem.js @@ -292,7 +292,7 @@ function disableAllExtensions() { return; if (initted) { - enabledExtensions.forEach(function(uuid) { + extensionOrder.slice().reverse().forEach(function(uuid) { disableExtension(uuid); }); }