Remove redundant return

This commit is contained in:
atse 2023-07-18 11:44:44 +08:00 committed by Tse Kwok Yan
parent 0982ce0f92
commit 253eb182d7
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