Update pyrogram

This commit is contained in:
Andrea Cavalli 2024-11-26 16:05:06 +01:00
parent 36190f8765
commit bce45f25c0

View File

@ -187,7 +187,10 @@ class RockServerStorage(Storage):
async def close(self): async def close(self):
""" Close transport """ """ Close transport """
await self._client.close() if self._client is not None:
close_future = self._client.close()
if close_future is not None:
await close_future
async def delete(self): async def delete(self):
""" Delete all the tables and indexes """ """ Delete all the tables and indexes """