zed/crates/gpui_windows
John Tur 067ec60e1a
Fix process teardown deadlock on Windows (#55065)
AWS-LC registers an `atexit` handler that intentionally acquires a lock
without releasing it. AWS-LC also has `thread_local` objects which
acquire this lock in their destructor. Destructors for `thread_local`s
run under the loader lock. So, there is a race condition where, if a
thread exits after `atexit` handlers have run, the TLS destructors will
block indefinitely on this lock while holding the loader lock. Since
`ExitProcess` also requires the loader lock, process teardown will
deadlock.


Closes #54856

Release Notes:

- Fixed an issue where the Zed process wouldn't exit after closing all
windows
2026-04-28 08:19:03 +00:00
..
src Fix process teardown deadlock on Windows (#55065) 2026-04-28 08:19:03 +00:00
build.rs gpui: Extract gpui_platform out of gpui (#49277) 2026-02-19 18:57:49 +01:00
Cargo.toml gpui: Extract gpui_platform out of gpui (#49277) 2026-02-19 18:57:49 +01:00
LICENSE-APACHE gpui: Extract gpui_platform out of gpui (#49277) 2026-02-19 18:57:49 +01:00