[tor-bugs] #19016 [Metrics/CollecTor]: add shutdown hook

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 10 11:19:24 UTC 2016


#19016: add shutdown hook
-----------------------------------+--------------------
     Reporter:  iwakeh             |      Owner:  iwakeh
         Type:  enhancement        |     Status:  new
     Priority:  Medium             |  Milestone:
    Component:  Metrics/CollecTor  |    Version:
     Severity:  Normal             |   Keywords:  ctip
Actual Points:                     |  Parent ID:
       Points:                     |   Reviewer:
      Sponsor:                     |
-----------------------------------+--------------------
 Add shutdown hook to provide a controlled way of stopping.
 This should be provided in class `Main`.

 What exactly should be done when the shutdown-hook is called?
 Especially looking at the different reasons for shutdown (system
 maintenance, corrupt disk, full disk, ...).

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19016>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list