Explorar el Código

In control.c, reset the bootstrapping status on shutdown

Part of #24587
Nick Mathewson hace 8 años
padre
commit
6033538ac3
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/or/control.c

+ 3 - 0
src/or/control.c

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