tor
tor copied to clipboard
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 [email protected]
Pull Request Test Coverage Report for Build 6652
- 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
- 1 unchanged line in 1 file lost coverage.
- Overall coverage decreased (-0.0008%) to 60.289%
Files with Coverage Reduction | New Missed Lines | % |
---|---|---|
src/feature/hs/hs_common.c | 1 | 83.28% |
<!-- | Total: | 1 |
Totals | |
---|---|
Change from base Build 6500: | -0.0008% |
Covered Lines: | 42873 |
Relevant Lines: | 71113 |