aboutsummaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-22 17:40:04 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-22 17:40:04 -0400
commitae0cb94b69b65e4561932b668deb0b19a19dbe94 (patch)
tree54588411afc5264e34214470b12b32548f4debb0 /src/app
parent7d9bea6a773cc18c4790883cb18e3e61131a4ab1 (diff)
downloadtor-ae0cb94b69b65e4561932b668deb0b19a19dbe94.tar.gz
tor-ae0cb94b69b65e4561932b668deb0b19a19dbe94.zip
Initialize mainloop events earlier, since other stuff may run them.
Fixes a stem test failure; bugfix on c7ce6b9821be22e734b79e0. Bug not in any released Tor.
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index eeb219f3dc..d71e1c7bf2 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -1269,6 +1269,7 @@ run_tor_main_loop(void)
handle_signals();
monotime_init();
timers_initialize();
+ initialize_mainloop_events();
/* load the private keys, if we're supposed to have them, and set up the
* TLS context. */