aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src
diff options
context:
space:
mode:
authorEskil Q <eskilq@kth.se>2021-01-07 00:02:30 +0100
committerEskil Q <eskilq@kth.se>2021-01-07 00:02:30 +0100
commitfe6e5eb67405cd929e65d8ff01ba52dbac9565ad (patch)
tree5e4018c78002c91e1fdd294665344b64a2664e6b /mumd/src
parentce5bce8681220b2460cacc931937e2772545fe52 (diff)
downloadmum-fe6e5eb67405cd929e65d8ff01ba52dbac9565ad.tar.gz
remove unnecessary debug print
Diffstat (limited to 'mumd/src')
-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();