obs-outputs: Fix Windows memory leak
When using alternate mutex implementations, you need to explicitly free the mutexes with the mbedtls_threading_free_alt() function.master
parent
d9408b51ef
commit
dd19c29b3e
|
@ -77,6 +77,7 @@ bool obs_module_load(void)
|
|||
void obs_module_unload(void)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
mbedtls_threading_free_alt();
|
||||
WSACleanup();
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue