mirror of
				https://git.suyu.dev/suyu/suyu.git
				synced 2025-11-04 12:34:39 +08:00 
			
		
		
		
	Merge pull request #457 from Subv/mutex_waiters
Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
This commit is contained in:
		
						commit
						693f78e6c2
					
				@ -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;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user