Activate DELETE tasks when queued

This commit is contained in:
Martin Willi
2012-03-20 17:31:19 +01:00
parent 5dec456b69
commit 8ef2bae4db
+10
View File
@@ -315,6 +315,16 @@ METHOD(task_manager_t, initiate, status_t,
exchange = INFORMATIONAL_V1;
new_mid = TRUE;
}
if (activate_task(this, TASK_IKE_DELETE))
{
exchange = INFORMATIONAL_V1;
new_mid = TRUE;
}
if (activate_task(this, TASK_CHILD_DELETE))
{
exchange = INFORMATIONAL_V1;
new_mid = TRUE;
}
break;
default:
break;