# HG changeset patch # User Matthew Wild # Date 1376433530 -3600 # Node ID a493b79cfad08be5f85df3a9881edf6081045517 # Parent 0b66cb959161625d7e45856dd5e62b432f5f2790 util.async: Make guarder() local diff -r 0b66cb959161 -r a493b79cfad0 util/async.lua --- 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();