mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
node: Small simplification in wire protocol
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user