mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00: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:
parent
6d5a407133
commit
39123fcce5
1 changed files with 0 additions and 1 deletions
|
@ -99,7 +99,6 @@ void ScriptApiSecurity::initializeSecurity()
|
||||||
"clock",
|
"clock",
|
||||||
"date",
|
"date",
|
||||||
"difftime",
|
"difftime",
|
||||||
"exit",
|
|
||||||
"getenv",
|
"getenv",
|
||||||
"setlocale",
|
"setlocale",
|
||||||
"time",
|
"time",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue