mirror of
https://github.com/lxsang/ant-http
synced 2024-12-27 09:18:22 +01:00
Fix segmentfault error
This commit is contained in:
parent
c8140b8e9b
commit
496f24e547
@ -785,7 +785,8 @@ 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