diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-26 13:15:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-26 13:15:38 -0400 |
commit | 96c5ac338a7df986d2419e14801df42421debd06 (patch) | |
tree | a67d203e3629a26d29af8afce5d014f5952b357c /src/or/circuitlist.c | |
parent | 7b09282dc723381e68fef79c3474a56315a0edfa (diff) | |
download | tor-96c5ac338a7df986d2419e14801df42421debd06.tar.gz tor-96c5ac338a7df986d2419e14801df42421debd06.zip |
Move close-and-cleanup functions to a postloop event.
Implements ticket 25932.
Diffstat (limited to 'src/or/circuitlist.c')
-rw-r--r-- | src/or/circuitlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 9a82713cbe..ea2f2c15c5 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -2067,6 +2067,7 @@ circuit_mark_for_close_, (circuit_t *circ, int reason, int line, circuits_pending_close = smartlist_new(); smartlist_add(circuits_pending_close, circ); + mainloop_schedule_postloop_cleanup(); log_info(LD_GENERAL, "Circuit %u (id: %" PRIu32 ") marked for close at " "%s:%d (orig reason: %d, new reason: %d)", |