From 62d3e3d6bf3842a1aad28874a69992b0b880137e Mon Sep 17 00:00:00 2001 From: Eskil Q Date: Thu, 7 Jan 2021 12:41:43 +0100 Subject: remove shutdown function on run_until it wasn't used and there are other ways of accomplishing the same thing --- mumd/src/network/udp.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'mumd/src/network/udp.rs') diff --git a/mumd/src/network/udp.rs b/mumd/src/network/udp.rs index 9dd6ed3..5f24b51 100644 --- a/mumd/src/network/udp.rs +++ b/mumd/src/network/udp.rs @@ -73,7 +73,6 @@ pub async fn handle( ), new_crypt_state(&mut crypt_state_receiver, sink, source), ).map(|_| ()), - || async {}, phase_watcher, ).await; @@ -217,7 +216,6 @@ async fn send_voice( sink.lock().await.send(sending).await.unwrap(); } }, - || async {}, phase_watcher.clone(), ).await; } -- cgit v1.2.1