Fix quitting Zed when project was unshared

This commit is contained in:
Antonio Scandurra 2024-01-04 15:00:36 +01:00
parent f0afa3f9e3
commit f6af7ab27c
3 changed files with 31 additions and 35 deletions

View file

@ -144,6 +144,7 @@ fn main() {
cx.set_global(client.clone());
zed::init(cx);
theme::init(theme::LoadThemes::All, cx);
project::Project::init(&client, cx);
client::init(&client, cx);
@ -158,7 +159,6 @@ fn main() {
cx,
);
assistant::init(cx);
// component_test::init(cx);
cx.spawn(|_| watch_languages(fs.clone(), languages.clone()))
.detach();