skynet.init rework, See #1322 (#1323)

* skynet.init rework, See #1322

* restore init_list #1322

* xpcall init_all, See #1322
This commit is contained in:
云风
2021-01-14 10:23:58 +08:00
committed by GitHub
parent 53a74ca029
commit 4cb84ac881
4 changed files with 63 additions and 42 deletions

View File

@@ -45,4 +45,6 @@ if LUA_PRELOAD then
LUA_PRELOAD = nil
end
_G.require = (require "skynet.require").require
main(select(2, table.unpack(args)))