From fd37b71ab1989318de265cdf27b0c9c5e957fc85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20N=27gadi?= Date: Mon, 28 Aug 2017 12:51:10 +0200 Subject: [PATCH] Move callback to top of functio --- async.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/async.lua b/async.lua index 5420a306..3c7ab7c8 100644 --- a/async.lua +++ b/async.lua @@ -45,7 +45,6 @@ function Async.parallelLimit(tasks, limit, cb) local function processQueue() if #queue == 0 then - cb(results) return end