Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: Small simplification in wire protocol
Alexis Sellier committed 3 years ago
commit eef813fd46f0b179964b6911a59861e3fbf5bfb2
parent 7037b52474a9d38293c04bb5580a37dd112bdbf9
1 file changed +1 -1
modified radicle-node/src/wire/protocol.rs
@@ -574,7 +574,7 @@ where
                                log::debug!(target: "wire", "Received stream close command for id={stream} from {nid}");

                                if let Some(chans) = streams.unregister(&stream) {
-
                                    chans.send(ChannelEvent::Close).ok();
+
                                    chans.close().ok();
                                }
                            }
                            Ok(Some(Frame {