From 98022514621b5fdbeee45738858b427b870e249e Mon Sep 17 00:00:00 2001 From: Janusz Dziedzic <janusz.dziedzic@iopsys.eu> Date: Thu, 10 Feb 2022 20:55:33 +0100 Subject: [PATCH] fix service stop core Signed-off-by: Janusz Dziedzic <janusz.dziedzic@iopsys.eu> --- src/cntlr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cntlr.c b/src/cntlr.c index 9ccf13c3..07b5fc66 100644 --- a/src/cntlr.c +++ b/src/cntlr.c @@ -58,7 +58,7 @@ void stop_cntlr(struct controller *c) exit(0); } - ubus_unregister_event_handler(c->ubus_ctx, &c->evh); +// ubus_unregister_event_handler(c->ubus_ctx, &c->evh); cntlr_remove_object(c); cmdu_ackq_free(&c->cmdu_ack_q); uloop_done(); -- GitLab