mirror of
https://github.com/bjc/prosody.git
synced 2025-04-06 06:37:37 +03:00
util.async: Make guarder() local
This commit is contained in:
parent
14f85f2f4e
commit
7f367c1d6e
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ local function waiter(num)
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
|
|
||||||
function guarder()
|
local function guarder()
|
||||||
local guards = {};
|
local guards = {};
|
||||||
return function (id, func)
|
return function (id, func)
|
||||||
local thread = coroutine.running();
|
local thread = coroutine.running();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue