diff --git a/lib/scheduler.c b/lib/scheduler.c index 43130a7..6137dc3 100644 --- a/lib/scheduler.c +++ b/lib/scheduler.c @@ -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);