1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-21 18:53:32 +00:00

Updated ILibLifeTime_Check() to flush stale entries instead of skipping them

This commit is contained in:
Bryan Roe
2022-08-17 11:20:41 -07:00
parent 6ba372d9b1
commit fdb6be806c

View File

@@ -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)
{
node = ILibLinkedList_GetNextNode(node);
node = ILibLinkedList_Remove(node);
continue;
}
if (Temp->ExpirationTick == 0 || Temp->ExpirationTick < CurrentTick)