must set timeout entry's dlink to NULL because NOT in time wheel

pull/2/head
yuqing 2014-10-31 11:05:15 +08:00
parent 81a45e7253
commit 8718f26b2e
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
Version 1.10 2014-11-01
Version 1.10 2014-10-31
* correct iovent macro define
* must set timeout entry's dlink to NULL because NOT in time wheel
Version 1.09 2014-10-26
* Version struct add variable: patch

View File

@ -60,6 +60,7 @@ static void deal_timeouts(FastTimerEntry *head)
current = entry;
entry = entry->next;
current->prev = current->next = NULL; //must set NULL because NOT in time wheel
pEventEntry = (IOEventEntry *)current->data;
if (pEventEntry != NULL)
{