This commit is contained in:
2026-06-20 14:45:55 +02:00
parent 90d082a845
commit 4da7dc5543
+1 -1
View File
@@ -304,7 +304,7 @@ int lua_rds2_group(RDSGroup* group, int stream) {
return 1; return 1;
} }
oid lua_call_function(const char* function) { void lua_call_function(const char* function) {
int need_lock = (pthread_mutex_trylock(&lua_mutex) == 0); int need_lock = (pthread_mutex_trylock(&lua_mutex) == 0);
if (!need_lock) { if (!need_lock) {
fprintf(stderr, "Warning: lua_mutex already locked when calling %s\n", function); fprintf(stderr, "Warning: lua_mutex already locked when calling %s\n", function);