[*] a7af61e9
cont: Potential Win32 loop queue bug fixes/improvements
This commit is contained in:
parent
18dbe62959
commit
72fd8d018e
@ -665,8 +665,6 @@ namespace Aurora::IO::Loop
|
||||
{
|
||||
if (endTime <= startTime)
|
||||
{
|
||||
StartUserAndTakeOwn();
|
||||
|
||||
Iterator queueIterator(this);
|
||||
for (queueIterator.Start(); queueIterator.End() != queueIterator.itr; )
|
||||
{
|
||||
@ -682,6 +680,11 @@ namespace Aurora::IO::Loop
|
||||
queueIterator.Next();
|
||||
}
|
||||
|
||||
if (!StartUserAndTakeOwn())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
ConsiderEvicitingTimeoutsAll();
|
||||
StartUserAndTakeOwn_Release();
|
||||
bFinished = true;
|
||||
@ -1123,7 +1126,11 @@ namespace Aurora::IO::Loop
|
||||
}
|
||||
else if (!status)
|
||||
{
|
||||
StartUserAndTakeOwn();
|
||||
if (!StartUserAndTakeOwn())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
ConsiderEvicitingTimeoutsAll();
|
||||
bFinished = true;
|
||||
StartUserAndTakeOwn_Release();
|
||||
|
Loading…
Reference in New Issue
Block a user