modified: src/client.rs
This commit is contained in:
parent
23d69ef79f
commit
c85b8486e1
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user