mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 12:20:41 +00:00
memory warning
This commit is contained in:
@@ -115,7 +115,7 @@ main(int argc, char *argv[]) {
|
||||
|
||||
struct skynet_config config;
|
||||
|
||||
struct lua_State *L = lua_newstate(skynet_lalloc, NULL);
|
||||
struct lua_State *L = luaL_newstate();
|
||||
luaL_openlibs(L); // link lua lib
|
||||
|
||||
int err = luaL_loadstring(L, load_config);
|
||||
|
||||
Reference in New Issue
Block a user