aboutsummaryrefslogtreecommitdiff
path: root/azalea-client/src/packet_handling.rs
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-02-21 21:53:22 -0600
committermat <github@matdoes.dev>2023-02-21 21:53:22 -0600
commit48640ca303784a3761dabc7436cd96ac93db279b (patch)
tree0cbab5af69aa205f1f580e2eaec12fd8c4ec5f66 /azalea-client/src/packet_handling.rs
parent66094921c88e80187a712dca39e421a648d69198 (diff)
downloadazalea-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.rs4
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