[*] everything before semaphore cast

This commit is contained in:
Reece Wilson 2023-10-21 16:09:45 +01:00
parent f9916e0f21
commit a1a2d482d7

View File

@ -74,17 +74,17 @@ namespace Aurora::IO::Loop
return;
}
if (auto pSemaphore = AuDynamicCast<Loop::ILSSemaphore>(pLoopSource))
{
pSemaphore->AddOne();
return;
}
if (auto pEvent = AuDynamicCast<Loop::ILSEvent>(pLoopSource))
{
pEvent->Set();
return;
}
if (auto pSemaphore = AuDynamicCast<Loop::ILSSemaphore>(pLoopSource))
{
pSemaphore->AddOne();
return;
}
}
AUKN_SYM bool WaitMultipleLoopSources(const AuList<AuSPtr<Loop::ILoopSource>> &lsList,