aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumd/src/command.rs')
-rw-r--r--mumd/src/command.rs2
1 files changed, 0 insertions, 2 deletions
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();