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.
This commit is contained in:
Nick Mathewson
2019-11-06 11:33:23 -05:00
parent 1bde356bf6
commit 4d70e725d1
4 changed files with 21 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (crash):
- When running Tor with an option like --verify-config or --dump-config
that does not start the event loop, avoid crashing if we try to exit
early because of an error. Fixes bug 32407; bugfix on 0.3.3.1-alpha.