remove __del__() from AsyncDiskClient

This commit is contained in:
2025-07-18 07:38:07 +03:00
parent 092cf89ec2
commit 78d32fab23
+1 -4
View File
@@ -61,7 +61,7 @@ class AsyncDiskClient:
Initialize an instance of the AsyncDiskClient class.
Parameters:
- token (str): The authentication token for the server.
- token (str): The authentication token for the server.
- auto_update_info (bool, optional): Whether to automatically update the client's information. Defaults to True.
Returns:
@@ -84,9 +84,6 @@ class AsyncDiskClient:
loop = asyncio.new_event_loop()
loop.run_until_complete(self.session.close())
def __del__(self) -> None:
self._cleanup()
async def _wait_for_operation_to_finish(self, operation_id: str) -> bool:
"""
Wait for an operation to finish.