jobs are getting destroyed by calling destroy_all

This commit is contained in:
Jan Hutter 2005-11-17 12:50:13 +00:00
parent f07a80d192
commit 8b3bc23b1c
2 changed files with 2 additions and 2 deletions

View File

@ -336,7 +336,7 @@ static status_t event_queue_destroy(private_event_queue_t *this)
this->list->destroy(this->list);
break;
}
event->job->destroy(event->job);
event->job->destroy_all(event->job);
event->destroy(event);
}
this->list->destroy(this->list);

View File

@ -118,7 +118,7 @@ static status_t job_queue_destroy (private_job_queue_t *this)
this->list->destroy(this->list);
break;
}
job->destroy(job);
job->destroy_all(job);
}
this->list->destroy(this->list);