Explorar el Código

Merge pull request #457 from Subv/mutex_waiters

Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
bunnei hace 8 años
padre
commit
693f78e6c2
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  1. 0 1
      src/core/hle/kernel/mutex.cpp

+ 0 - 1
src/core/hle/kernel/mutex.cpp

@@ -104,7 +104,6 @@ ResultCode Mutex::Release(VAddr address) {
 
     // There are no more threads waiting for the mutex, release it completely.
     if (thread == nullptr) {
-        ASSERT(GetCurrentThread()->wait_mutex_threads.empty());
         Memory::Write32(address, 0);
         return RESULT_SUCCESS;
     }