Use Proxy directly instead of Runtime::run

This commit is contained in:
Héctor Ramón Jiménez 2025-10-16 18:46:29 +02:00
parent f0be63517f
commit 2071ef9cd5
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -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;
}