Fix missing enter in iced::executor::Default
This commit is contained in:
parent
09cf0b7af3
commit
5345ac785b
1 changed files with 4 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ mod platform {
|
|||
) {
|
||||
let _ = self.0.spawn(future);
|
||||
}
|
||||
|
||||
fn enter<R>(&self, f: impl FnOnce() -> R) -> R {
|
||||
self.0.enter(f)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue