windows: Dispatch missing foreground tasks (#9469)
Some foreground tasks were being missed causing some unresponsiveness in Zed. The foreground tasks used to happen but it was changed in #9351 (here: https://github.com/zed-industries/zed/pull/9351/files#diff-5b5e706f04c15d77efd23989ec5b1b1cf73d36144e2d066a074de165533ecaeaL227) Release Notes: - N/A
This commit is contained in:
parent
3d08e20c72
commit
0e83b22583
1 changed files with 3 additions and 0 deletions
|
@ -247,6 +247,9 @@ impl Platform for WindowsPlatform {
|
||||||
DispatchMessageW(&msg);
|
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);
|
log::error!("Something went wrong while waiting {:?}", wait_result);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue