diff options
| author | mat <github@matdoes.dev> | 2023-02-21 21:53:22 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2023-02-21 21:53:22 -0600 |
| commit | 48640ca303784a3761dabc7436cd96ac93db279b (patch) | |
| tree | 0cbab5af69aa205f1f580e2eaec12fd8c4ec5f66 /azalea-client/src/packet_handling.rs | |
| parent | 66094921c88e80187a712dca39e421a648d69198 (diff) | |
| download | azalea-drasl-48640ca303784a3761dabc7436cd96ac93db279b.tar.xz | |
properly disconnect on ungraceful disconnect
Diffstat (limited to 'azalea-client/src/packet_handling.rs')
| -rw-r--r-- | azalea-client/src/packet_handling.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/azalea-client/src/packet_handling.rs b/azalea-client/src/packet_handling.rs index 873ac3f5..d5cce3a8 100644 --- a/azalea-client/src/packet_handling.rs +++ b/azalea-client/src/packet_handling.rs @@ -961,10 +961,6 @@ impl PacketReceiver { } } } - // TODO: it should send a DisconnectEvent here somehow - // maybe use a tokio::sync::oneshot that tells it to close and have the - // receiver in localplayer and have a system that watches that or - // something? } /// Consume the [`ServerboundGamePacket`] queue and actually write the |
