aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_dir_common.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2019-10-15 13:33:48 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-17 10:11:32 -0400
commit4a8d4913227ea1d6b9302cda4703516595a3c1b5 (patch)
treeb6ae62ca1951850e958143fad95ad8fd1f158bc5 /src/test/test_dir_common.c
parent7b9cb4c47bc9d1ca4e120af2b00a0f0747cd7b20 (diff)
downloadtor-4a8d4913227ea1d6b9302cda4703516595a3c1b5.tar.gz
tor-4a8d4913227ea1d6b9302cda4703516595a3c1b5.zip
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 <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_dir_common.c')
0 files changed, 0 insertions, 0 deletions