[tor-commits] [tor/master] Move the responsibility for delayed shutdown into the mainloop