mirror of
https://github.com/lxsang/ant-http
synced 2024-12-26 16:58:22 +01:00
Fix segmentfault error
This commit is contained in:
parent
67ef88cc21
commit
c8140b8e9b
@ -785,9 +785,9 @@ void *antd_scheduler_wait(void *ptr)
|
|||||||
// task is no longer available
|
// task is no longer available
|
||||||
ERROR("Poll: Task %d is no longer valid. Remove it", eit->task->id);
|
ERROR("Poll: Task %d is no longer valid. Remove it", eit->task->id);
|
||||||
eit->task->access_time = 0;
|
eit->task->access_time = 0;
|
||||||
eit->task->handle = NULL;
|
/*eit->task->handle = NULL;
|
||||||
antd_scheduler_destroy_data(eit->task->data);
|
antd_scheduler_destroy_data(eit->task->data);
|
||||||
eit->task->data = NULL;
|
eit->task->data = NULL;*/
|
||||||
scheduled_list = bst_insert(scheduled_list, eit->task->id, eit->task);
|
scheduled_list = bst_insert(scheduled_list, eit->task->id, eit->task);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user