mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-16 14:58:05 +08:00
Remove leftover debug logs
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user