aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/network/tcp.rs
diff options
context:
space:
mode:
authorEskil Q <eskilq@kth.se>2021-01-07 12:41:43 +0100
committerEskil Q <eskilq@kth.se>2021-01-07 12:41:43 +0100
commit62d3e3d6bf3842a1aad28874a69992b0b880137e (patch)
tree18ee2f8b569991d1d0e6b6248539f70da63a62d7 /mumd/src/network/tcp.rs
parentab407d694e5a8ce6f831f8a84fc32dbdf6685aac (diff)
downloadmum-62d3e3d6bf3842a1aad28874a69992b0b880137e.tar.gz
remove shutdown function on run_until
it wasn't used and there are other ways of accomplishing the same thing
Diffstat (limited to 'mumd/src/network/tcp.rs')
-rw-r--r--mumd/src/network/tcp.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/mumd/src/network/tcp.rs b/mumd/src/network/tcp.rs
index e639dd0..3a32b9f 100644
--- a/mumd/src/network/tcp.rs
+++ b/mumd/src/network/tcp.rs
@@ -93,7 +93,6 @@ pub async fn handle(
send_packets(sink, &mut packet_receiver),
register_events(&mut tcp_event_register_receiver, Arc::clone(&event_queue)),
).map(|_| ()),
- || async {},
phase_watcher,
).await;
@@ -192,7 +191,6 @@ async fn send_voice(
.unwrap();
}
},
- || async {},
inner_phase_watcher.clone(),
).await;
}