Cwtchbot doesn't tear down Tor connections? #3
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sarah/cwtchbot#3
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
You have to
ctrl-c
to stop running the bot AFAIU. And since we don't runapp.Shutdown()
&acn.Close()
(unsure if there are more clean shutdown APIs?), there are still Tor processes up and running in a listening state?I guess we could use the 'ol
os.Signal.Notify
/syscall.SIGINT/SIGTERM
trick to catch the program exit and call the shutdown APIs? Can submit a PR if I'm on the right track.