zed/crates/gpui
Conrad Irwin 0b1b758f02 Fix leaking test contexts
I was unable to run the collab tests locally because I would run out of
file descriptors.

From some digging it turned out that tokio allocates a new file
descriptor to do work on the CurrentThread using KQUEUE.

We create a new tokio Runtime with each database connection, and these
database connections were being retained by the Client, which is
retained by the Context.

Cleaning up our leaked contexts fixes the problem (though does make me
wonder if a different approach might be preferrable).
2024-01-22 23:05:54 -07:00
..
docs Remove some todo!'s 2024-01-09 11:36:36 +02:00
examples More adjustments for blog post 2024-01-18 07:01:46 -07:00
src Fix leaking test contexts 2024-01-22 23:05:54 -07:00
tests Remove some todo!'s 2024-01-09 11:36:36 +02:00
build.rs Rebuild shader header when cbindgen sources have changed 2024-01-15 16:23:22 +01:00
Cargo.toml Tweak the description of the gpui crate (#4142) 2024-01-18 18:52:16 -05:00