From fe6e5eb67405cd929e65d8ff01ba52dbac9565ad Mon Sep 17 00:00:00 2001 From: Eskil Q Date: Thu, 7 Jan 2021 00:02:30 +0100 Subject: remove unnecessary debug print --- mumd/src/command.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'mumd/src/command.rs') diff --git a/mumd/src/command.rs b/mumd/src/command.rs index b099ae1..653d1fa 100644 --- a/mumd/src/command.rs +++ b/mumd/src/command.rs @@ -26,11 +26,9 @@ pub async fn handle( debug!("Begin listening for commands"); while let Some((command, response_sender)) = command_receiver.recv().await { debug!("Received command {:?}", command); - debug!("locking state"); let mut state = state.lock().await; let event = state.handle_command(command, &mut packet_sender, &mut connection_info_sender); drop(state); - debug!("unlocking state"); match event { ExecutionContext::TcpEvent(event, generator) => { let (tx, rx) = oneshot::channel(); -- cgit v1.2.1