Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
windows: Dispatch missing foreground tasks (#9469)
Ezekiel Warren0e83b2258359
diff --git a/crates/gpui/src/platform/windows/platform.rs b/crates/gpui/src/platform/windows/platform.rsindex 663bf0c7202..09e12972625 100644--- a/crates/gpui/src/platform/windows/platform.rs+++ b/crates/gpui/src/platform/windows/platform.rs@@ -247,6 +247,9 @@ impl Platform for WindowsPlatform {DispatchMessageW(&msg);}}++ // foreground tasks may have been queued in the message handlers+ self.run_foreground_tasks();}_ => {log::error!("Something went wrong while waiting {:?}", wait_result);