« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/common-util/sugar.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/common-util/sugar.js')
-rw-r--r--src/common-util/sugar.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common-util/sugar.js b/src/common-util/sugar.js
index c7e15dd3..e931ad59 100644
--- a/src/common-util/sugar.js
+++ b/src/common-util/sugar.js
@@ -369,10 +369,10 @@ export function queue(functionList, queueSize = 50) {
         // has just resolved, we know there's none running at all right now,
         // and can start as many as specified in the queueSize right away.
         for (let i = 0; i < queueSize; i++) {
-          setTimeout(next);
+          next();
         }
       } else {
-        setTimeout(next);
+        next();
       }
     }
   };