zed/crates
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
..
activity_indicator Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
ai chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
assets Fix assets build 2024-01-08 16:53:01 -07:00
assistant Add API for retrieving the date that a contributor signed the CLA 2024-01-22 13:11:24 -08:00
audio
auto_update Remove commented-out code in auto_update (#4149) 2024-01-18 23:12:42 -05:00
breadcrumbs Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
call chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
channel chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
cli
client chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
clock
collab Fix leaking test contexts 2024-01-22 23:05:54 -07:00
collab_ui Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
collections
color Update docs 2024-01-17 11:39:09 -05:00
command_palette Make platform input handler private 2024-01-20 06:56:19 -08:00
copilot chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
copilot_ui Make platform input handler private 2024-01-20 06:56:19 -08:00
db
diagnostics Port the rest of the app 2024-01-21 20:26:33 -08:00
editor Avoid overwriting mouse wheel scroll with selection auto-scroll (#4207) 2024-01-22 19:07:03 -05:00
feature_flags Use try_global() 2024-01-18 01:33:30 -05:00
feedback Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
file_finder Editor docs (#4097) 2024-01-18 00:48:37 +01:00
fs chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
fsevent
fuzzy
git chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
go_to_line Editor docs (#4097) 2024-01-18 00:48:37 +01:00
gpui Fix leaking test contexts 2024-01-22 23:05:54 -07:00
gpui_macros Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
install_cli
journal Make platform input handler private 2024-01-20 06:56:19 -08:00
language chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
language_selector Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
language_tools lsp-log: Reemit Editors search events. 2024-01-22 14:02:48 +01:00
live_kit_client Adjust APIs for simpler examples in blog post 2024-01-17 21:19:28 -07:00
live_kit_server Implement live kit promotion/demotion 2024-01-09 16:10:12 -07:00
lsp chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
media
menu
multi_buffer chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
node_runtime
notifications
outline Editor docs (#4097) 2024-01-18 00:48:37 +01:00
picker Wrap over picker's matches when reaching the end of the list 2024-01-18 16:54:35 +02:00
plugin
plugin_macros
plugin_runtime Update tenses of doc comment summary lines (#4161) 2024-01-19 11:18:50 -05:00
prettier
project chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
project_panel Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
project_symbols Editor docs (#4097) 2024-01-18 00:48:37 +01:00
quick_action_bar Editor docs (#4097) 2024-01-18 00:48:37 +01:00
recent_projects Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
refineable Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
rich_text chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
rope Fix possessive "its" in docs and comments (#3998) 2024-01-10 10:09:48 -05:00
rpc Merge branch 'main' into language-api-docs 2024-01-18 15:06:45 -08:00
search Fix focus and re-focus of project-wide search 2024-01-18 15:05:45 +01:00
semantic_index Use try_global() 2024-01-18 01:33:30 -05:00
settings chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
snippet
sqlez Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
sqlez_macros
story Finish documenting the action, asset, color, and element modules in GPUI 2024-01-20 20:15:23 -08:00
storybook Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
sum_tree
terminal chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
terminal_view Moved Frame struct into element context, to be close to it's associated methods 2024-01-21 20:52:24 -08:00
text Fix / remove small todos 2024-01-09 14:16:46 -08:00
theme Add more terminal colors to the theme (#4168) 2024-01-19 14:22:53 -05:00
theme_importer Add more terminal colors to the theme (#4168) 2024-01-19 14:22:53 -05:00
theme_selector Rename h_stack and v_stack to h_flex and v_flex, respectively (#4053) 2024-01-15 11:34:06 -05:00
ui Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
util Introduce a ZED_MEASUREMENTS env var and use it to measure frame time 2024-01-22 11:39:20 +01:00
vcs_menu Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
vim Merge remote-tracking branch 'origin/main' into jk 2024-01-21 22:03:54 -07:00
welcome Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
workspace Fix panel deserialization (#4198) 2024-01-22 12:37:38 -07:00
zed Fix panel deserialization (#4198) 2024-01-22 12:37:38 -07:00
zed_actions