Fix quitting Zed when project was unshared
This commit is contained in:
parent
f0afa3f9e3
commit
f6af7ab27c
3 changed files with 31 additions and 35 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue