vici: Undo start actions when unloading configs
This commit is contained in:
@@ -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