proper thread cancellation when using the charon->interfaces

This commit is contained in:
Martin Willi
2007-05-23 09:08:13 +00:00
parent 0f6b068259
commit 76042f8471
8 changed files with 100 additions and 5 deletions
+1
View File
@@ -806,6 +806,7 @@ static status_t initiate(private_ike_sa_t *this, child_cfg_t *child_cfg)
}
task = (task_t*)child_create_create(&this->public, child_cfg);
child_cfg->destroy(child_cfg);
this->task_manager->queue_task(this->task_manager, task);
return this->task_manager->initiate(this->task_manager);