deps/obs-scripting: Don't allow unloading more than once

This commit is contained in:
jp9000 2018-03-17 16:52:14 -07:00
parent 5eaf46f1cd
commit 0a6d5772d9

View File

@ -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)