mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-26 00:45:49 +00:00
Fix release() in StdMutex.h
Originally fixed here: https://code.google.com/p/dolphin-emu/source/detail?spec=svn74a5ad542b44a18751acc19e4d1229d640cc4c0f&r=4f4aa4860df98f401384f6e598cb649b13882e79
This commit is contained in:
parent
b897309eaf
commit
c3d6f67c7c
@ -318,9 +318,12 @@ public:
|
||||
|
||||
mutex_type* release()
|
||||
{
|
||||
return mutex();
|
||||
mutex_type* const ret = mutex();
|
||||
|
||||
pm = NULL;
|
||||
owns = false;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool owns_lock() const
|
||||
|
Loading…
x
Reference in New Issue
Block a user