Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T Tor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • David Goulet
  • Tor
  • Repository
Switch branch/tag
  • tor
  • src
  • core
  • mainloop
  • periodic.c
Find file BlameHistoryPermalink
  • David Goulet's avatar
    mainloop: Disable periodic events before a destroy · 4a8d4913
    David Goulet authored Oct 15, 2019 and Nick Mathewson's avatar Nick Mathewson committed Oct 17, 2019
    
    
    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's avatarDavid Goulet <dgoulet@torproject.org>
    4a8d4913