base: Only disable sleep in WASM but still `continue`
parent
aa42951f15
commit
1241fd718e
|
@ -848,10 +848,9 @@ impl Client {
|
|||
r
|
||||
} else {
|
||||
#[cfg(not(target_arch = "wasm32"))]
|
||||
{
|
||||
sleep::new(Duration::from_secs(1)).await;
|
||||
continue;
|
||||
}
|
||||
sleep::new(Duration::from_secs(1)).await;
|
||||
|
||||
continue;
|
||||
};
|
||||
|
||||
// TODO send out to-device messages here
|
||||
|
|
Loading…
Reference in New Issue