Skip to content

Commit

Permalink
Merge pull request cloudwu#340 from sanikoyes/Pr-missing-exitshr
Browse files Browse the repository at this point in the history
add missing luaS_exitshr call
  • Loading branch information
cloudwu committed Sep 14, 2015
2 parents 6c33f7b + 846d55e commit 8f284e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 3rd/lua/lua.c
Original file line number Diff line number Diff line change
Expand Up @@ -611,6 +611,7 @@ int main (int argc, char **argv) {
result = lua_toboolean(L, -1); /* get result */
report(L, status);
lua_close(L);
luaS_exitshr();
return (result && status == LUA_OK) ? EXIT_SUCCESS : EXIT_FAILURE;
}

0 comments on commit 8f284e2

Please sign in to comment.