diff --git a/src/main.rs b/src/main.rs index 0fee3d94..b41c4523 100644 --- a/src/main.rs +++ b/src/main.rs @@ -370,5 +370,5 @@ where /// /// TODO: remove all instances of this once async trait funcs are stable pub fn await_sync(f: F) -> F::Output { - block_in_place(|| Handle::current().block_on(f)) + block_in_place(|| Ironbar::runtime().block_on(f)) }