Upd executor.

This commit is contained in:
Alex Root Junior 2017-11-13 21:06:00 +02:00
parent cdbe9c82cc
commit 46d6f0641c

View file

@ -32,7 +32,7 @@ async def _shutdown(dispatcher: Dispatcher, callback=None):
if callable(callback): if callable(callback):
await callback(dispatcher) await callback(dispatcher)
dispatcher.storage.close() await dispatcher.storage.close()
await dispatcher.storage.wait_closed() await dispatcher.storage.wait_closed()