Merge remote-tracking branch 'origin/connection_cleanup' into connection_cleanup
This commit is contained in:
commit
e4a5a6dea6
|
@ -66,7 +66,6 @@ class APIFrameHelper:
|
|||
self._log_name = log_name
|
||||
|
||||
def _set_ready_future_exception(self, exc: Exception | type[Exception]) -> None:
|
||||
"""Set the ready future to an exception."""
|
||||
if not self.ready_future.done():
|
||||
self.ready_future.set_exception(exc)
|
||||
|
||||
|
|
Loading…
Reference in New Issue