Open akshetpandey opened 9 years ago
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.
Edited in github, not really tested. Please do test if it actually works
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.