mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-22 03:03:18 +00:00
Updated ILibLifeTime_Check() to flush stale entries instead of skipping them
This commit is contained in:
@@ -7817,7 +7817,7 @@ void ILibLifeTime_Check(void *LifeTimeMonitorObject, fd_set *readset, fd_set *wr
|
|||||||
{
|
{
|
||||||
if ((Temp = (struct LifeTimeMonitorData*)ILibLinkedList_GetDataFromNode(node)) == NULL || ILibMemory_CanaryOK(Temp)==0)
|
if ((Temp = (struct LifeTimeMonitorData*)ILibLinkedList_GetDataFromNode(node)) == NULL || ILibMemory_CanaryOK(Temp)==0)
|
||||||
{
|
{
|
||||||
node = ILibLinkedList_GetNextNode(node);
|
node = ILibLinkedList_Remove(node);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (Temp->ExpirationTick == 0 || Temp->ExpirationTick < CurrentTick)
|
if (Temp->ExpirationTick == 0 || Temp->ExpirationTick < CurrentTick)
|
||||||
|
|||||||
Reference in New Issue
Block a user