mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
sharedata support filename string
This commit is contained in:
@@ -608,11 +608,15 @@ local function init_all()
|
||||
end
|
||||
end
|
||||
|
||||
local function ret(f, ...)
|
||||
f()
|
||||
return ...
|
||||
end
|
||||
|
||||
local function init_template(start)
|
||||
init_all()
|
||||
init_func = {}
|
||||
start()
|
||||
init_all()
|
||||
return ret(init_all, start())
|
||||
end
|
||||
|
||||
function skynet.pcall(start)
|
||||
|
||||
Reference in New Issue
Block a user