From b703514d0e5037419cc3f00a09e51455b2ec55e5 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Wed, 9 Oct 2024 17:13:43 +0200 Subject: [PATCH] project: Observe SshRemoteClient to get notified about state changes (#18918) Release Notes: - N/A --- crates/project/src/project.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/project/src/project.rs b/crates/project/src/project.rs index 8c2b4bd2a0..de8601044a 100644 --- a/crates/project/src/project.rs +++ b/crates/project/src/project.rs @@ -732,6 +732,7 @@ impl Project { } }) .detach(); + cx.observe(&ssh, |_, _, cx| cx.notify()).detach(); let this = Self { buffer_ordered_messages_tx: tx,