ignore whether sending to an actor failed in a broadcast
This commit is contained in:
parent
8e4c13a8dd
commit
63d5b177b4
|
@ -23,7 +23,7 @@ use crate::{
|
|||
pub async fn broadcast_packet(packet: Packet) {
|
||||
for (id, (address, _)) in clients().read().await.iter() {
|
||||
if *id != packet.user_id {
|
||||
let _ = address.send(packet.clone()).detach().await.unwrap();
|
||||
let _ = address.send(packet.clone()).detach().await;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue