Do not try to shut down the event loop when it is not initialized.
commit4d70e725d16abc2f85d54b91f50e75c37c765087
authorNick Mathewson <nickm@torproject.org>
Wed, 6 Nov 2019 16:33:23 +0000 (6 11:33 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 6 Nov 2019 16:33:23 +0000 (6 11:33 -0500)
tree9dc4815c94a9e05f11e61434d4c62ebd77bdd9d5
parent1bde356bf645f3c3d3b0a6e70c03e2baf9f89d26
Do not try to shut down the event loop when it is not initialized.

Doing so caused us to crash in some unusual circumstances, such as
using --verify-config to verify a configuration that failed during
the options_act() stage.

Fixes bug 32407; bugfix on 0.3.3.1-alpha.
changes/ticket32407 [new file with mode: 0644]
src/core/mainloop/mainloop.c
src/lib/evloop/compat_libevent.c
src/lib/evloop/compat_libevent.h