diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-03-29 11:17:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-29 11:17:54 +0200 |
| commit | c6a5774443099c747bce938e6f87299397819c2b (patch) | |
| tree | 21ee198b7114d90e3523e7f25bbeb881bcdb0842 /mumd/src/client.rs | |
| parent | 8501432530f19cb2be86815697c82abbe4482275 (diff) | |
| parent | 80cedde5d6868f5e4db85db2c80825e49d981a48 (diff) | |
| download | mum-c6a5774443099c747bce938e6f87299397819c2b.tar.gz | |
Merge pull request #74 from mum-rs/yeet-ipc
Diffstat (limited to 'mumd/src/client.rs')
| -rw-r--r-- | mumd/src/client.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mumd/src/client.rs b/mumd/src/client.rs index 84c1ea1..cdae7eb 100644 --- a/mumd/src/client.rs +++ b/mumd/src/client.rs @@ -2,16 +2,15 @@ use crate::command; use crate::network::{tcp, udp, ConnectionInfo}; use crate::state::State; -use ipc_channel::ipc::IpcSender; use mumble_protocol::{Serverbound, control::ControlPacket, crypt::ClientCryptState}; use mumlib::command::{Command, CommandResponse}; use std::sync::Arc; -use tokio::{join, sync::{mpsc, watch, Mutex}}; +use tokio::{join, sync::{Mutex, mpsc, oneshot, watch}}; pub async fn handle( command_receiver: mpsc::UnboundedReceiver<( Command, - IpcSender<mumlib::error::Result<Option<CommandResponse>>>, + oneshot::Sender<mumlib::error::Result<Option<CommandResponse>>>, )>, ) { let (connection_info_sender, connection_info_receiver) = |
