Android: SyncEvent::IsTriggered should not call reset

This commit is contained in:
zilmar 2022-07-11 21:18:59 +09:30
parent de5a8460fd
commit 64c0e93cde
1 changed files with 0 additions and 1 deletions

View File

@ -53,7 +53,6 @@ bool SyncEvent::IsTriggered(int32_t iWaitTime) const
pthread_cond_wait((pthread_cond_t*)m_cond, (pthread_mutex_t*)m_Event); pthread_cond_wait((pthread_cond_t*)m_cond, (pthread_mutex_t*)m_Event);
} }
pthread_mutex_unlock((pthread_mutex_t*)m_Event); pthread_mutex_unlock((pthread_mutex_t*)m_Event);
Reset();
return true; return true;
#endif #endif
} }