vici: Undo start actions when unloading configs
This commit is contained in:
1 parent
84a3077e78
commit
f3b2d4a9d8
1 file changed
+1
@@ -2005,6 +2005,7 @@ CALLBACK(unload_conn, vici_message_t*,
|
|||||||
if (streq(cfg->get_name(cfg), conn_name))
|
if (streq(cfg->get_name(cfg), conn_name))
|
||||||
{
|
{
|
||||||
this->conns->remove_at(this->conns, enumerator);
|
this->conns->remove_at(this->conns, enumerator);
|
||||||
|
clear_start_actions(this, cfg);
|
||||||
cfg->destroy(cfg);
|
cfg->destroy(cfg);
|
||||||
found = TRUE;
|
found = TRUE;
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in new issue
Block a user