aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-03-17 22:03:08 +0000
committerMatthew Wild <mwild1@gmail.com>2018-03-17 22:03:08 +0000
commita87f39878abf4897c2fd0430898dc1b8cc4fc33e (patch)
treee035c61473b6ad0bf048ea48df38b623a1fdf509
parent86ac07d8bc4a6c9486f890827e0d887504b4c890 (diff)
downloadprosody-a87f39878abf4897c2fd0430898dc1b8cc4fc33e.tar.gz
prosody-a87f39878abf4897c2fd0430898dc1b8cc4fc33e.zip
util.async: Remove redundant line committed by mistake (Zash, luacheck)
-rw-r--r--util/async.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/async.lua b/util/async.lua
index 9189e6d1..a07226de 100644
--- a/util/async.lua
+++ b/util/async.lua
@@ -30,7 +30,6 @@ local function runner_continue(thread)
end
local error_handler = runner.watchers.error;
if error_handler then error_handler(runner, debug.traceback(thread, err)); end
- local ready_handler = runner.watchers.ready;
runner.state, runner.thread = "ready", nil;
return runner:run();
elseif state == "ready" then