mirror of
https://github.com/Cuprate/cuprate.git
synced 2025-01-22 10:44:36 +00:00
typo
This commit is contained in:
parent
859d67d8b6
commit
1570844b0b
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ impl<N: NetworkZone> ClientPool<N> {
|
|||
assert!(res.is_none());
|
||||
|
||||
// We have to check this again otherwise we could have a race condition where a
|
||||
// peer is disconnected after the first check, the disconnect monitor trys to remove it,
|
||||
// peer is disconnected after the first check, the disconnect monitor tries to remove it,
|
||||
// and then it is added to the pool.
|
||||
if handle.is_closed() {
|
||||
self.remove_client(&id);
|
||||
|
|
Loading…
Reference in a new issue