vici: Undo start actions when unloading configs

This commit is contained in:
Martin Willi
2015-12-07 10:05:07 +01:00
parent 84a3077e78
commit f3b2d4a9d8
+1
View File
@@ -2005,6 +2005,7 @@ CALLBACK(unload_conn, vici_message_t*,
if (streq(cfg->get_name(cfg), conn_name))
{
this->conns->remove_at(this->conns, enumerator);
clear_start_actions(this, cfg);
cfg->destroy(cfg);
found = TRUE;
break;