[tor-bugs] #25932 [Core Tor/Tor]: Close closeable objects in a postloop event, not in second_elapsed_callback().

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 26 17:12:24 UTC 2018


#25932: Close closeable objects in a postloop event, not in
second_elapsed_callback().
-------------------------+-------------------------------------------------
     Reporter:  nickm    |      Owner:  nickm
         Type:  defect   |     Status:  assigned
     Priority:  Medium   |  Milestone:  Tor: 0.3.4.x-final
    Component:  Core     |    Version:
  Tor/Tor                |   Keywords:  034-roadmap-subtask,
     Severity:  Normal   |  034-triage-20180328, 034-included-20180328
Actual Points:           |  Parent ID:  #25375
       Points:           |   Reviewer:
      Sponsor:           |
  Sponsor8               |
-------------------------+-------------------------------------------------
 We currently close channels, channel listeners, connections, and circuits
 as part of our second_elapsed_callback().  But since all pending-close
 objects are kept in lists, we can just do this in a post-loop event.

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


More information about the tor-bugs mailing list