[tor-commits] [tor/release-0.2.9] refactor out the tor_event_base_loopexit() call