stop looping when client disconnects
This commit is contained in:
parent
186c3612aa
commit
ddf7701118
@ -128,6 +128,7 @@ impl<S, R> ClientPool<S, R> where
|
||||
match err {
|
||||
TryRecvError::Empty => break,
|
||||
TryRecvError::Disconnected => {
|
||||
break;
|
||||
// TODO!
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user