close search on transport close

This commit is contained in:
Victor Shyba 2019-05-08 23:00:57 -03:00
parent 8620a0e424
commit 2e09d2adfa

View file

@ -169,7 +169,9 @@ class IterativeFinder:
log.warning(str(err))
self.active.discard(peer)
return
except (RemoteException, TransportNotConnected):
except TransportNotConnected:
return self.aclose()
except RemoteException:
return
return await self._handle_probe_result(peer, response)