Correct call to _aclose() in response to TransportNotConnected.
This commit is contained in:
parent
b036961954
commit
82d7f81f41
1 changed files with 2 additions and 1 deletions
|
@ -175,7 +175,8 @@ class IterativeFinder(AsyncGenerator):
|
|||
self._reset_closest(peer)
|
||||
return
|
||||
except TransportNotConnected:
|
||||
return self._aclose()
|
||||
await self._aclose(reason="not connected")
|
||||
return
|
||||
except RemoteException:
|
||||
self._reset_closest(peer)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue