aboutsummaryrefslogtreecommitdiff
path: root/src/feature/hibernate/hibernate.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-13 09:30:51 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-15 11:17:22 -0500
commit4bf79fa4fa99fe66f6b1ad413cbf475325803e04 (patch)
treee87275562242ab4eaacc735bb8441db9aa231f04 /src/feature/hibernate/hibernate.c
parent303e5c70e08d72614ea95fd0c5aad7e05852b6b7 (diff)
downloadtor-4bf79fa4fa99fe66f6b1ad413cbf475325803e04.tar.gz
tor-4bf79fa4fa99fe66f6b1ad413cbf475325803e04.zip
Turn second_elapsed_callback into a normal periodic event.
Diffstat (limited to 'src/feature/hibernate/hibernate.c')
-rw-r--r--src/feature/hibernate/hibernate.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/hibernate/hibernate.c b/src/feature/hibernate/hibernate.c
index 968c39dd6d..feeb3d92ef 100644
--- a/src/feature/hibernate/hibernate.c
+++ b/src/feature/hibernate/hibernate.c
@@ -1248,8 +1248,6 @@ on_hibernate_state_change(hibernate_state_t prev_state)
if (prev_state != HIBERNATE_STATE_INITIAL) {
rescan_periodic_events(get_options());
}
-
- reschedule_per_second_timer();
}
/** Free all resources held by the accounting module */