mirror of
https://github.com/minetest/minetest.git
synced 2025-02-17 10:23:47 +01:00
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
This commit is contained in:
@ -99,7 +99,6 @@ void ScriptApiSecurity::initializeSecurity()
|
||||
"clock",
|
||||
"date",
|
||||
"difftime",
|
||||
"exit",
|
||||
"getenv",
|
||||
"setlocale",
|
||||
"time",
|
||||
|
Reference in New Issue
Block a user