stop looping when client disconnects

This commit is contained in:
jake 2019-09-13 19:19:38 -07:00
parent 186c3612aa
commit ddf7701118

View File

@ -128,6 +128,7 @@ impl<S, R> ClientPool<S, R> where
match err {
TryRecvError::Empty => break,
TryRecvError::Disconnected => {
break;
// TODO!
}
}