mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 23:58:44 +00:00
commit
f5129394ec
@ -100,6 +100,8 @@ static void sigint(void)
|
|||||||
{
|
{
|
||||||
zlog_notice("Terminating on signal");
|
zlog_notice("Terminating on signal");
|
||||||
eigrp_terminate();
|
eigrp_terminate();
|
||||||
|
|
||||||
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SIGUSR1 handler. */
|
/* SIGUSR1 handler. */
|
||||||
|
@ -886,6 +886,7 @@ void frr_fini(void)
|
|||||||
zprivs_terminate(di->privs);
|
zprivs_terminate(di->privs);
|
||||||
/* signal_init -> nothing needed */
|
/* signal_init -> nothing needed */
|
||||||
thread_master_free(master);
|
thread_master_free(master);
|
||||||
|
master = NULL;
|
||||||
closezlog();
|
closezlog();
|
||||||
/* frrmod_init -> nothing needed / hooks */
|
/* frrmod_init -> nothing needed / hooks */
|
||||||
|
|
||||||
|
@ -571,6 +571,7 @@ void thread_master_free(struct thread_master *m)
|
|||||||
close(m->io_pipe[0]);
|
close(m->io_pipe[0]);
|
||||||
close(m->io_pipe[1]);
|
close(m->io_pipe[1]);
|
||||||
list_delete(m->cancel_req);
|
list_delete(m->cancel_req);
|
||||||
|
m->cancel_req = NULL;
|
||||||
|
|
||||||
hash_clean(m->cpu_record, cpu_record_hash_free);
|
hash_clean(m->cpu_record, cpu_record_hash_free);
|
||||||
hash_free(m->cpu_record);
|
hash_free(m->cpu_record);
|
||||||
|
Loading…
Reference in New Issue
Block a user