summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--proto-shell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto-shell.c b/proto-shell.c
index 2a5eda0..038fb0b 100644
--- a/proto-shell.c
+++ b/proto-shell.c
@@ -317,6 +317,7 @@ proto_shell_free(struct interface_proto_state *proto)
struct proto_shell_state *state;
state = container_of(proto, struct proto_shell_state, proto);
+ uloop_timeout_cancel(&state->teardown_timeout);
proto_shell_clear_host_dep(state);
netifd_kill_process(&state->script_task);
netifd_kill_process(&state->proto_task);