From 12ad629d4dc5b8f30a906d8a86cc6f41f59b3fb7 Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Thu, 2 Aug 2018 22:10:55 -0400 Subject: [PATCH] If the channel becomes inactive, the connection's closed, too. --- .../velocitypowered/proxy/connection/MinecraftConnection.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java index 50c85c52d..fff678070 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/MinecraftConnection.java @@ -70,6 +70,8 @@ public class MinecraftConnection extends ChannelInboundHandlerAdapter { if (association != null) { logger.info("{} has disconnected", association); } + + teardown(); } @Override