aboutsummaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-27 11:15:43 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-27 11:15:43 -0400
commit79e7c0af0e4bd9a813ddd9226b43cc49112edd19 (patch)
treee4cf44b6de106a31426801a941afb9450dde5384 /src/or/main.c
parent0a10335d2e23e43de401cf955c8f188ce19106a6 (diff)
downloadtor-79e7c0af0e4bd9a813ddd9226b43cc49112edd19.tar.gz
tor-79e7c0af0e4bd9a813ddd9226b43cc49112edd19.zip
Add a comment about removing the failsafe event loop exit code
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.c b/src/or/main.c
index a615a6be00..bb59356901 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -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,