Skip to content

Commit

Permalink
zebra: fix cleanup of mgmt backend state
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hopps <chopps@labn.net>
  • Loading branch information
choppsv1 committed Dec 7, 2023
1 parent 791e526 commit 693a814
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zebra/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ static void sigint(void)

zlog_notice("Terminating on signal");

nb_op_cancel_all_walks();
mgmt_be_client_destroy(mgmt_be_client);
mgmt_be_client = NULL;

atomic_store_explicit(&zrouter.in_shutdown, true,
memory_order_relaxed);
Expand Down

0 comments on commit 693a814

Please sign in to comment.