Remove os.exit from the Lua secure sandbox (#5090)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sat, 21 Jan 2017 21:05:54 +0000 (22:05 +0100)
committerGitHub <noreply@github.com>
Sat, 21 Jan 2017 21:05:54 +0000 (22:05 +0100)
commit39123fcce5e983e83234971571b3cfaa458970b5
tree22860af032be9f72f3a43c784f14cff3c9759fc6
parent6d5a40713347424084af8ba04e76278961506881
Remove os.exit from the Lua secure sandbox (#5090)

os.exit will exit not using proper resource liberation paths.

Mods should call the proper exit mod using our API
src/script/cpp_api/s_security.cpp