Diff

util/async.lua @ 8625:08bf4df6fdb7

util.async: Remove redundant line committed by mistake (Zash, luacheck)
author Matthew Wild <mwild1@gmail.com>
date Sat, 17 Mar 2018 22:03:08 +0000
parent 8616:a15c891c6232
child 8627:24b59a62acce
line wrap: on
line diff
--- a/util/async.lua	Sat Mar 17 18:23:39 2018 +0000
+++ b/util/async.lua	Sat Mar 17 22:03:08 2018 +0000
@@ -30,7 +30,6 @@
 		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