mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +00:00
disable wait_closed dispatcher on executor.
This commit is contained in:
parent
a812553ddb
commit
c5b828f809
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue