Remove leftover debug logs

This commit is contained in:
Keavon Chambers
2023-03-21 00:41:39 -07:00
parent 834cb1a227
commit 089df947ac
9 changed files with 1 additions and 24 deletions

View File

@@ -10,14 +10,12 @@ pub fn block_on<F: Future + 'static>(future: F) -> F::Output {
let result = executor::spawn(async move {
let result = executor::yield_async(future).await;
*move_val.lock().unwrap() = Some(result);
log::info!("Finished");
});
executor::run(Some(result.task()));
loop {
if let Some(result) = val.lock().unwrap().take() {
return result;
}
log::info!("Waiting");
}
}