Changeset

5797:a493b79cfad0

util.async: Make guarder() local
author Matthew Wild <mwild1@gmail.com>
date Tue, 13 Aug 2013 23:38:50 +0100
parents 5796:0b66cb959161
children 5798:c610b5fb53f3
files util/async.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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();