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