From ddf7701118a134ecb0cc853ae865dcb21480b8aa Mon Sep 17 00:00:00 2001 From: jake Date: Fri, 13 Sep 2019 19:19:38 -0700 Subject: [PATCH] stop looping when client disconnects --- src/common/clientpool.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/clientpool.rs b/src/common/clientpool.rs index b1650d2..ddf5fb5 100644 --- a/src/common/clientpool.rs +++ b/src/common/clientpool.rs @@ -128,6 +128,7 @@ impl ClientPool where match err { TryRecvError::Empty => break, TryRecvError::Disconnected => { + break; // TODO! } }