Browse Source

stop looping when client disconnects

pbs
jake 5 years ago
parent
commit
ddf7701118
  1. 1
      src/common/clientpool.rs

1
src/common/clientpool.rs

@ -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…
Cancel
Save