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

Release Notes:

- N/A
This commit is contained in:
CharlesChen0823
2024-09-27 08:55:35 +02:00
committed by GitHub
parent 02d0561586
commit 8559731e0d
+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();