ZIm/crates/gpui_tokio
Julia Ryan 1b2ceae7ef
Use Tokio::spawn instead of getting an executor handle (#36701)
This was causing panics due to the handles being dropped out of order.
It doesn't seem possible to guarantee the correct drop ordering given
that we're holding them over await points, so lets just spawn on the
tokio executor itself which gives us access to the state we needed those
handles for in the first place.

Fixes: ZED-1R

Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
2025-08-21 17:19:57 +00:00
..
src Use Tokio::spawn instead of getting an executor handle (#36701) 2025-08-21 17:19:57 +00:00
Cargo.toml Use Tokio::spawn instead of getting an executor handle (#36701) 2025-08-21 17:19:57 +00:00
LICENSE-APACHE Add a crate for spawning tokio tasks in Zed (#23857) 2025-01-29 20:53:16 +00:00