Core: Fix thread not waking up properly on canceling request

This commit is contained in:
Vicki Pfau 2024-04-08 19:59:11 -07:00
parent 2037e97fc9
commit 61172d837f
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ static void _sendRequest(struct mCoreThreadInternal* threadContext, enum mCoreTh
static void _cancelRequest(struct mCoreThreadInternal* threadContext, enum mCoreThreadRequest request) { static void _cancelRequest(struct mCoreThreadInternal* threadContext, enum mCoreThreadRequest request) {
threadContext->requested &= ~request; threadContext->requested &= ~request;
_pokeRequest(threadContext); _pokeRequest(threadContext);
ConditionWake(&threadContext->stateOffThreadCond); ConditionWake(&threadContext->stateOnThreadCond);
} }
void _frameStarted(void* context) { void _frameStarted(void* context) {