Remove redundant return

This commit is contained in:
atse 2023-07-18 11:44:44 +08:00
parent 30f6c4f829
commit 1d192f50c8
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ class Client:
"""Disconnect the client if connected, cancel connection if connecting"""
if self._connecting_task is not None:
self._connecting_task.cancel()
return
if self._writer is None:
return