rougeth / bottery

[DEVELOPMENT-HALTED] :battery: A bot framework with batteries included
MIT License
344 stars 51 forks source link

Loop not being shutdown gracefully #109

Open rougeth opened 7 years ago

rougeth commented 7 years ago

Even running loop.stop() and then loop.close() we're getting those messages:

Task was destroyed but it is pending!
task: <Task pending coro=<TelegramEngine.polling() running at ../bottery/platform/telegram.py:102> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x10658e6a8>()]>>
Task was destroyed but it is pending!
task: <Task pending coro=<TelegramEngine.polling() running at ../bottery/platform/telegram.py:102> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x10658e4c8>()]>>