disable wait_closed dispatcher on executor.

This commit is contained in:
Alex Root Junior 2018-01-07 18:19:44 +02:00
parent a812553ddb
commit c5b828f809

View file

@ -34,7 +34,7 @@ async def _shutdown(dispatcher: Dispatcher, callback=None):
if dispatcher.is_polling():
dispatcher.stop_polling()
await dispatcher.wait_closed()
# await dispatcher.wait_closed()
await dispatcher.storage.close()
await dispatcher.storage.wait_closed()