Skip to content
Browse files
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
  • Loading branch information
nerzhul committed Jan 21, 2017
1 parent 6d5a407 commit 39123fcce5e983e83234971571b3cfaa458970b5
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/script/cpp_api/s_security.cpp
@@ -99,7 +99,6 @@ void ScriptApiSecurity::initializeSecurity()

0 comments on commit 39123fc

Please sign in to comment.