runnging拼写错误

This commit is contained in:
hong
2018-08-02 19:19:44 +08:00
committed by 云风
parent c9942deaa9
commit b5653a68ea

View File

@@ -17,7 +17,7 @@ setmetatable(register_name, { __index =
function(self, name)
local waitco = inquery_name[name]
if waitco then
local co=coroutine.runnging()
local co=coroutine.running()
table.insert(waitco, co)
skynet.wait(co)
return rawget(self, name)