Diff

util/async.lua @ 5797:a493b79cfad0

util.async: Make guarder() local
author Matthew Wild <mwild1@gmail.com>
date Tue, 13 Aug 2013 23:38:50 +0100
parent 5796:0b66cb959161
child 7359:a5a080c12c96
line wrap: on
line diff
--- a/util/async.lua	Tue Aug 13 21:26:53 2013 +0100
+++ b/util/async.lua	Tue Aug 13 23:38:50 2013 +0100
@@ -43,7 +43,7 @@
 	end;
 end
 
-function guarder()
+local function guarder()
 	local guards = {};
 	return function (id, func)
 		local thread = coroutine.running();