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

Make quitting daemon friendly#195

Open
akshetpandey wants to merge 2 commits intocinchrb:masterfrom
akshetpandey:patch-1
Open

Make quitting daemon friendly#195
akshetpandey wants to merge 2 commits intocinchrb:masterfrom
akshetpandey:patch-1

Conversation

@akshetpandey
Copy link
Copy Markdown

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
Copy Markdown
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