Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Make quitting daemon friendly #195

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Make quitting daemon friendly #195

wants to merge 2 commits into from

Conversation

akshetpandey
Copy link

bot.quit may very likely be called from a daemon's trap context... cannot do complicated things there, so just setup the quitting flags and let the main event loop handle the actual quit.

bot.quit may very likely be called from a daemon's trap context... cannot do complicated things there, so just setup the quitting flags and let the main event loop handle the actual quit.
@akshetpandey
Copy link
Author

Edited in github, not really tested. Please do test if it actually works

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant