In control.c, reset the bootstrapping status on shutdown

Part of #24587
This commit is contained in:
Nick Mathewson 2017-12-11 12:59:23 -05:00
parent ea929e8456
commit 6033538ac3

View File

@ -7620,6 +7620,9 @@ control_free_all(void)
tor_event_free(flush_queued_events_event);
flush_queued_events_event = NULL;
}
bootstrap_percent = BOOTSTRAP_STATUS_UNDEF;
notice_bootstrap_percent = 0;
bootstrap_problems = 0;
}
#ifdef TOR_UNIT_TESTS