mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-11-28 00:34:26 +00:00
Fix missing pthread_once_t initialization
This commit is contained in:
1 parent
29f121a7d3
commit
4102bab53f
1 file changed
+1
-1
@@ -40,7 +40,7 @@ pthread_mutex_t g_FdTableLock = PTHREAD_MUTEX_INITIALIZER;
|
||||
|
||||
// This lock protects sections of code that must run uninterrupted with DRM master
|
||||
pthread_mutex_t g_MasterLock;
|
||||
pthread_once_t g_MasterLockInit;
|
||||
pthread_once_t g_MasterLockInit = PTHREAD_ONCE_INIT;
|
||||
|
||||
// Lock order: g_MasterLock -> g_FdTableLock
|
||||
|
||||
|
||||
Reference in new issue
Block a user