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