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 {
|
match err {
|
||||||
TryRecvError::Empty => break,
|
TryRecvError::Empty => break,
|
||||||
TryRecvError::Disconnected => {
|
TryRecvError::Disconnected => {
|
||||||
|
break;
|
||||||
// TODO!
|
// TODO!
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user