From c1b40f63e120b7b3a35dc1a5d5cdadc5863facc4 Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 23 Sep 2019 22:26:06 -0700 Subject: [PATCH] remove printlns --- src/common/clientpool.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/clientpool.rs b/src/common/clientpool.rs index e8b94bd..d9541ec 100644 --- a/src/common/clientpool.rs +++ b/src/common/clientpool.rs @@ -138,13 +138,10 @@ impl ClientPool where let mut events = Events::with_capacity(1024); - println!("looping"); loop { self.poll.poll(&mut events, None).unwrap(); - println!("events! {:?}", events); for event in &events { - println!("event! {:?}", event); match event.token() { Token(0) => self.new_client(), Token(1) => self.packet_to_send(), @@ -167,6 +164,7 @@ impl ClientPool where match client_read(&self.sender, client) { Ok(()) =>{}, Err(err) => { + println!("pkt err: {:?}", err); match err { PacketNetworkError::ClientDisconnected => { self.poll.deregister(&client.socket).unwrap();