Index: lib/utils.js |
=================================================================== |
--- a/lib/utils.js |
+++ b/lib/utils.js |
@@ -321,28 +321,20 @@ let Utils = exports.Utils = |
} |
} |
} |
} |
return selectedItem; |
}, |
/** |
- * Pauses code execution and allows events to be processed. Warning: |
- * other extension code might execute, the extension might even shut down. |
+ * DEPRECATED, do not use! |
*/ |
yield: function() |
{ |
- let {Prefs} = require("prefs"); |
- if (Prefs.please_kill_startup_performance) |
- { |
- this.yield = function() {}; |
- return; |
- } |
- return new Promise((resolve, reject) => Utils.runAsync(resolve)); |
}, |
/** |
* Saves sidebar state before detaching/reattaching |
*/ |
setParams: function(params) |
{ |
sidebarParams = params; |