Skip to content

Commit 3dfb8cf

Browse files
committed
fix(pyfsd.protocol.client): Fix memory leak
1 parent a47f5c6 commit 3dfb8cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/pyfsd/protocol/client.py

+1
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,7 @@ def connection_lost(self, exc: Optional[BaseException] = None) -> None:
10641064
"""Handle connection lost."""
10651065
if self.timeout_killer_task:
10661066
self.timeout_killer_task.cancel()
1067+
self.timeout_killer_task = None
10671068
for pending_task in self.tasks:
10681069
pending_task.cancel()
10691070
client = None

0 commit comments

Comments
 (0)