G
await self.dispatcher.storage.close()
await self.dispatcher.storage.wait_closed()
если используете executor, то само закроет всё
Size: a a a
G
await self.dispatcher.storage.close()
await self.dispatcher.storage.wait_closed()
RD
G
async def on_shutdown():
await dp.close()
t
G
t
t
D
t
RD
RD
RD
RD
t
t
RD
t
await bot.close()
G
await bot.close()
t
G