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:
Joscha 2022-08-20 20:34:38 +02:00
parent 49b37649e3
commit 2579a9860d

View file

@ -286,7 +286,6 @@ impl State {
let reply = PingReply { time: Some(p.time) }; let reply = PingReply { time: Some(p.time) };
event_tx.send(Event::send_rpl(packet.id.clone(), reply))?; event_tx.send(Event::send_rpl(packet.id.clone(), reply))?;
} }
// TODO Handle disconnect event?
_ => {} _ => {}
} }