Files
zed/crates/gpui/src
Mikayla Maki 952119de41 Fix window crash (#57203)
Closes ZED-86Q

Fixes this (rare) crash by making entity creation via a window context
infallible.

The shape of the result is a bit clunky due to the type signatures
involved. The real solution is to remove AsyncWindowContext entirely and
move it's fallible APIs into WindowHandle, but until then this will give
you a simple starting point.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A
2026-05-20 00:05:34 +00:00
..
2026-05-20 00:05:34 +00:00
2026-03-21 14:37:34 -04:00
2026-04-21 07:25:22 +00:00
2026-05-13 09:57:17 +00:00
2026-03-21 14:37:34 -04:00
2026-03-21 14:37:34 -04:00
2026-02-26 18:36:50 +01:00
2026-04-21 07:25:22 +00:00
2026-04-24 08:31:43 +00:00
2025-11-12 20:27:04 +00:00
2026-04-24 08:31:43 +00:00
2026-05-05 09:35:08 +00:00
2026-04-24 08:31:43 +00:00