mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 09:22:03 +00:00
Upd executor.
This commit is contained in:
parent
cdbe9c82cc
commit
46d6f0641c
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ async def _shutdown(dispatcher: Dispatcher, callback=None):
|
|||
if callable(callback):
|
||||
await callback(dispatcher)
|
||||
|
||||
dispatcher.storage.close()
|
||||
await dispatcher.storage.close()
|
||||
await dispatcher.storage.wait_closed()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue