modified: src/client.rs

This commit is contained in:
Michael Wain 2024-11-28 01:38:07 +03:00
parent 23d69ef79f
commit c85b8486e1

View File

@ -381,7 +381,7 @@ pub mod desktop {
tokio::spawn(async move { tokio::spawn(async move {
loop { loop {
if let Some(Ok(buf)) = dev_reader.next().await { if let Some(Ok(buf)) = dev_reader.next().await {
tx.send(buf); let _ = tx.send(buf).await;
} }
} }
}); });