Skip to content

Commit 556f084

Browse files
author
pe
committed
channel_close does not wait.
Ignore-this: 57dbb1227eaa1b42bc17896b5f33998d darcs-hash:6a2dcf8a39b351102839f6e19627aaf60a940033
1 parent 05e982c commit 556f084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ impl<R:Read+Write, H: Handler> Connection<R, H> {
665665
}
666666

667667
/// Ask the server to close a channel, finishing any pending write and read.
668-
pub fn channel_close(mut self, channel: ChannelId) {
668+
pub fn channel_close(&mut self, channel: ChannelId) {
669669
if let Some(ref mut s) = self.session {
670670
s.0.byte(channel, msg::CHANNEL_CLOSE);
671671
}

0 commit comments

Comments
 (0)