mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Add a comment about removing the failsafe event loop exit code
This commit is contained in:
parent
0a10335d2e
commit
79e7c0af0e
@ -691,6 +691,7 @@ tor_shutdown_event_loop_and_exit(int exitcode)
|
||||
|
||||
/* Die with an assertion failure in ten seconds, if for some reason we don't
|
||||
* exit normally. */
|
||||
/* XXXX We should consider this code if it's never used. */
|
||||
struct timeval ten_seconds = { 10, 0 };
|
||||
event_base_once(tor_libevent_get_base(), -1, EV_TIMEOUT,
|
||||
shutdown_did_not_work_callback, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user