Merge remote-tracking branch 'origin/connection_cleanup' into connection_cleanup

This commit is contained in:
J. Nick Koston 2023-11-27 23:01:32 -06:00
commit e4a5a6dea6
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -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)