base: Only disable sleep in WASM but still `continue`

master
stoically 2020-05-12 15:56:27 +02:00
parent aa42951f15
commit 1241fd718e
1 changed files with 3 additions and 4 deletions

View File

@ -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