tor icon indicating copy to clipboard operation
tor copied to clipboard

mainloop: Disable periodic events before a destroy

Open dgoulet-tor opened this issue 5 years ago • 1 comments

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]

dgoulet-tor avatar Oct 15 '19 17:10 dgoulet-tor

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 Coverage Status
Change from base Build 6500: -0.0008%
Covered Lines: 42873
Relevant Lines: 71113

💛 - Coveralls

coveralls avatar Oct 15 '19 18:10 coveralls