Fix segmentfault error

This commit is contained in:
lxsang 2021-02-03 11:30:19 +01:00
parent c8140b8e9b
commit 496f24e547

View File

@ -785,7 +785,8 @@ void *antd_scheduler_wait(void *ptr)
// task is no longer available
ERROR("Poll: Task %d is no longer valid. Remove it", eit->task->id);
eit->task->access_time = 0;
/*eit->task->handle = NULL;
eit->task->handle = NULL;
/*
antd_scheduler_destroy_data(eit->task->data);
eit->task->data = NULL;*/
scheduled_list = bst_insert(scheduled_list, eit->task->id, eit->task);