[*] WaitSingleBase.cpp was rescoping the return value. Doh
This commit is contained in:
parent
cfca09d0da
commit
450c895732
@ -19,7 +19,7 @@ namespace Aurora::Loop
|
||||
if (this->Singular())
|
||||
{
|
||||
auto handle = this->GetHandle();
|
||||
auto val = this->WaitForOne(handle);
|
||||
val = this->WaitForOne(handle);
|
||||
if (val)
|
||||
{
|
||||
val = this->OnTrigger(handle);
|
||||
@ -28,7 +28,7 @@ namespace Aurora::Loop
|
||||
else
|
||||
{
|
||||
auto handles = this->GetHandles();
|
||||
auto val = WaitForAtleastOne(handles, one);
|
||||
val = WaitForAtleastOne(handles, one);
|
||||
if (val)
|
||||
{
|
||||
val = this->OnTrigger(one);
|
||||
|
Loading…
Reference in New Issue
Block a user