From 4a8d4913227ea1d6b9302cda4703516595a3c1b5 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Tue, 15 Oct 2019 13:33:48 -0400 Subject: mainloop: Disable periodic events before a destroy When tearing down all periodic events during shutdown, disable them first so their enable flag is updated. This allows the tor_api.h to relaunch tor properly after a clean shutdown. Fixes #32058 Signed-off-by: David Goulet --- changes/ticket32058 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 changes/ticket32058 (limited to 'changes/ticket32058') diff --git a/changes/ticket32058 b/changes/ticket32058 new file mode 100644 index 0000000000..b40bcda416 --- /dev/null +++ b/changes/ticket32058 @@ -0,0 +1,5 @@ + o Minor bugfixes (mainloop, periodic events): + - Periodic events enabled flag was not unset properly when shutting down tor + cleanly. This had the side effect to not re-enable periodic events when + tor_api.h is used to relaunch tor after a shutdown. Fixes bug 32058; + bugfix on 0.3.3.1-alpha. -- cgit v1.2.3-54-g00ecf