summaryrefslogtreecommitdiff
path: root/main/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/event.c')
-rw-r--r--main/event.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/event.c b/main/event.c
index 4c231fe91..2c4670b52 100644
--- a/main/event.c
+++ b/main/event.c
@@ -1817,6 +1817,8 @@ static void event_shutdown(void)
struct ast_event_sub *sub;
int i;
+ ast_cli_unregister_multiple(event_cli, ARRAY_LEN(event_cli));
+
if (event_dispatcher) {
event_dispatcher = ast_taskprocessor_unreference(event_dispatcher);
}