mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-09-03 21:00:27 +00:00
Fixes #13276 Make CachedValue safe for concurrent terminal content reads and expiry. The expiry task could previously release cached Swift String storage while another thread retained it, aborting the process during otherwise normal terminal use. Protect cached values and task handles with an NSLock, and exercise concurrent reads across repeated expiration in a regression test.