deps/obs-scripting: Don't allow unloading more than once
This commit is contained in:
parent
5eaf46f1cd
commit
0a6d5772d9
2
deps/obs-scripting/obs-scripting.c
vendored
2
deps/obs-scripting/obs-scripting.c
vendored
@ -213,6 +213,8 @@ void obs_scripting_unload(void)
|
||||
|
||||
pthread_mutex_destroy(&defer_call_mutex);
|
||||
os_sem_destroy(defer_call_semaphore);
|
||||
|
||||
scripting_loaded = false;
|
||||
}
|
||||
|
||||
const char **obs_scripting_supported_formats(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user