avoid select! all branches disabled panic

This commit is contained in:
rustdesk 2022-01-13 01:16:23 +08:00
parent 3aebc43111
commit 75ef279e47

View File

@ -542,10 +542,11 @@ async fn lan_discovery() -> ResultType<()> {
socket.send(&msg_out, addr).await?; socket.send(&msg_out, addr).await?;
} }
} }
_ => {} _ => {} // avoid select! all branches disabled panic
} }
} }
} }
else => {}
} }
} }
} }