Initialize mainloop events earlier, since other stuff may run them.

Fixes a stem test failure; bugfix on c7ce6b9821. Bug
not in any released Tor.
This commit is contained in:
Nick Mathewson
2018-09-22 17:40:04 -04:00
parent 7d9bea6a77
commit ae0cb94b69
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -2675,7 +2675,7 @@ dns_servers_relaunch_checks(void)
}
/** Initialize some mainloop_event_t objects that we require. */
STATIC void
void
initialize_mainloop_events(void)
{
if (!schedule_active_linked_connections_event) {