mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
But, actually move systemd_watchdog_timer free into mainloop.c
This commit is contained in:
parent
7eea45c5c4
commit
7d9bea6a77
@ -2897,6 +2897,10 @@ tor_mainloop_free_all(void)
|
|||||||
mainloop_event_free(postloop_cleanup_ev);
|
mainloop_event_free(postloop_cleanup_ev);
|
||||||
mainloop_event_free(handle_deferred_signewnym_ev);
|
mainloop_event_free(handle_deferred_signewnym_ev);
|
||||||
|
|
||||||
|
#ifdef HAVE_SYSTEMD_209
|
||||||
|
periodic_timer_free(systemd_watchdog_timer);
|
||||||
|
#endif
|
||||||
|
|
||||||
stats_n_bytes_read = stats_n_bytes_written = 0;
|
stats_n_bytes_read = stats_n_bytes_written = 0;
|
||||||
|
|
||||||
memset(&global_bucket, 0, sizeof(global_bucket));
|
memset(&global_bucket, 0, sizeof(global_bucket));
|
||||||
|
Loading…
Reference in New Issue
Block a user