project: Fix worktree store event missing in remote projects (#18376)

Release Notes:

- N/A
This commit is contained in:
CharlesChen0823 authored and GitHub committed 2024-09-27 08:55:35 +02:00
1 parent 74c97abab5
commit b0894aacca
1 file changed
+3
+3
View File
@@ -886,6 +886,9 @@ impl Project {
cx.spawn(move |this, cx| Self::send_buffer_ordered_messages(this, rx, cx))
.detach();
cx.subscribe(&worktree_store, Self::on_worktree_store_event)
.detach();
cx.subscribe(&buffer_store, Self::on_buffer_store_event)
.detach();
cx.subscribe(&lsp_store, Self::on_lsp_store_event).detach();