mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-07-03 15:20:46 -07:00
Mutex: Cleanup and remove redundant code.
This commit is contained in:
@ -100,7 +100,7 @@ static bool CheckWait_AddressArbiter(const Thread* thread, VAddr wait_address) {
|
||||
/// Stops the current thread
|
||||
void Thread::Stop(const char* reason) {
|
||||
// Release all the mutexes that this thread holds
|
||||
ReleaseThreadMutexes(GetHandle());
|
||||
ReleaseThreadMutexes(this);
|
||||
|
||||
ChangeReadyState(this, false);
|
||||
status = THREADSTATUS_DORMANT;
|
||||
|
Reference in New Issue
Block a user