mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-23 02:24:38 +00:00
Unlock mutex in constructor
This commit is contained in:
parent
7d5ce2fc83
commit
3262976401
@ -52,7 +52,10 @@ int Lib::Thread::GetThreadIdUnique() {
|
||||
return tid;
|
||||
}
|
||||
|
||||
Lib::Mutex::Mutex() { m_mutex = new MutexStructInternal(); }
|
||||
Lib::Mutex::Mutex() {
|
||||
m_mutex = new MutexStructInternal();
|
||||
UnlockMutex();
|
||||
}
|
||||
|
||||
Lib::Mutex::~Mutex() { delete m_mutex; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user