Don't panic if heartbeat messages can't be sent

Antonio Scandurra and Max Brunsfeld created

Co-Authored-By: Max Brunsfeld <max@zed.dev>

Change summary

zed/src/rpc.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

zed/src/rpc.rs 🔗

@@ -141,7 +141,7 @@ impl Client {
                 state._maintain_connection = Some(cx.foreground().spawn(async move {
                     loop {
                         foreground.timer(heartbeat_interval).await;
-                        this.request(proto::Ping {}).await.unwrap();
+                        let _ = this.request(proto::Ping {}).await;
                     }
                 }));
             }