mirror of
				https://git.tardis.systems/mirrors/yuzu
				synced 2025-10-31 18:54:14 +01:00 
			
		
		
		
	Merge pull request #12825 from liamwhite/why
kernel: clear pinned waiter list on unpin
This commit is contained in:
		
						commit
						077a50a547
					
				| @ -543,7 +543,8 @@ void KThread::Unpin() { | |||||||
|     ASSERT(m_parent != nullptr); |     ASSERT(m_parent != nullptr); | ||||||
| 
 | 
 | ||||||
|     // Resume any threads that began waiting on us while we were pinned.
 |     // Resume any threads that began waiting on us while we were pinned.
 | ||||||
|     for (auto it = m_pinned_waiter_list.begin(); it != m_pinned_waiter_list.end(); ++it) { |     for (auto it = m_pinned_waiter_list.begin(); it != m_pinned_waiter_list.end(); | ||||||
|  |          it = m_pinned_waiter_list.erase(it)) { | ||||||
|         it->EndWait(ResultSuccess); |         it->EndWait(ResultSuccess); | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user