mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-03-31 17:15:31 +00:00
add comment
This commit is contained in:
parent
c779ca3788
commit
ed68c22010
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@ impl Connection {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !self.socket_connection.is_closed() {
|
if !self.socket_connection.is_closed() {
|
||||||
|
// @TODO duplicated condition?
|
||||||
if let Err(e) = self.socket_connection.close(self.cancellable.as_ref()) {
|
if let Err(e) = self.socket_connection.close(self.cancellable.as_ref()) {
|
||||||
return Err(Error::SocketConnection(e));
|
return Err(Error::SocketConnection(e));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue