Remove unnecessary todo
The disconnect is followed by the server closing the connection, so there is no need to handle it manually.
This commit is contained in:
parent
49b37649e3
commit
2579a9860d
1 changed files with 0 additions and 1 deletions
|
|
@ -286,7 +286,6 @@ impl State {
|
|||
let reply = PingReply { time: Some(p.time) };
|
||||
event_tx.send(Event::send_rpl(packet.id.clone(), reply))?;
|
||||
}
|
||||
// TODO Handle disconnect event?
|
||||
_ => {}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue