Revert "Unlock mutex in constructor"

This reverts commit 3262976401.
This commit is contained in:
wheremyfoodat 2023-09-29 18:27:27 +03:00
parent 3262976401
commit 64b61568a9

View File

@ -52,10 +52,7 @@ int Lib::Thread::GetThreadIdUnique() {
return tid;
}
Lib::Mutex::Mutex() {
m_mutex = new MutexStructInternal();
UnlockMutex();
}
Lib::Mutex::Mutex() { m_mutex = new MutexStructInternal(); }
Lib::Mutex::~Mutex() { delete m_mutex; }