mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 04:33:05 +00:00
add missing luaS_exitshr call
This commit is contained in:
@@ -611,6 +611,7 @@ int main (int argc, char **argv) {
|
|||||||
result = lua_toboolean(L, -1); /* get result */
|
result = lua_toboolean(L, -1); /* get result */
|
||||||
report(L, status);
|
report(L, status);
|
||||||
lua_close(L);
|
lua_close(L);
|
||||||
|
luaS_exitshr();
|
||||||
return (result && status == LUA_OK) ? EXIT_SUCCESS : EXIT_FAILURE;
|
return (result && status == LUA_OK) ? EXIT_SUCCESS : EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user