Use Proxy directly instead of Runtime::run
This commit is contained in:
parent
f0be63517f
commit
2071ef9cd5
1 changed files with 1 additions and 6 deletions
|
|
@ -882,12 +882,7 @@ async fn run_instance<P>(
|
|||
// Defer all window actions to avoid compositor
|
||||
// race conditions while redrawing
|
||||
if let Action::Window(_) = action {
|
||||
runtime.run(
|
||||
futures::futures::stream::once(
|
||||
async move { action },
|
||||
)
|
||||
.boxed(),
|
||||
);
|
||||
proxy.send_action(action);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue