mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-23 11:33:09 +00:00
Merge pull request #316 from niuys/patch-2
'hotfix' code cannot use '_ENV'
This commit is contained in:
@@ -49,7 +49,9 @@ local function collect_all_uv(funcs)
|
||||
collect_uv(v[4], global, envid(v[4]))
|
||||
end
|
||||
end
|
||||
|
||||
if not global["_ENV"] then
|
||||
global["_ENV"] = {func = collect_uv, index = 1}
|
||||
end
|
||||
return global
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user