diff --git a/aiogram/utils/executor.py b/aiogram/utils/executor.py index b4213a6f..72aa6ef4 100644 --- a/aiogram/utils/executor.py +++ b/aiogram/utils/executor.py @@ -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()