Fix a bug in GPUI, where AsyncApp::update wouldn't kick off a flush effects loop (#24208)

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2025-02-04 10:00:11 -08:00 committed by GitHub
parent 4f98157e64
commit 4ab4e87266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -151,7 +151,7 @@ impl AsyncApp {
.upgrade()
.ok_or_else(|| anyhow!("app was released"))?;
let mut lock = app.borrow_mut();
Ok(f(&mut lock))
Ok(lock.update(f))
}
/// Open a window with the given options based on the root view returned by the given function.