fix fatal error on uncaught lua exceptions in network functions calls

This commit is contained in:
MihailRis
2024-11-29 20:32:18 +03:00
parent b69494aea3
commit 05003a4082
3 changed files with 22 additions and 4 deletions
+1
View File
@@ -574,6 +574,7 @@ namespace lua {
runnable create_runnable(lua::State*);
scripting::common_func create_lambda(lua::State*);
scripting::common_func create_lambda_nothrow(lua::State*);
inline int pushenv(lua::State* L, int env) {
if (getglobal(L, env_name(env))) {