fix: LEAK: ByteBuf.release() was not called

This commit is contained in:
Akka 2022-05-13 14:59:05 +08:00 committed by Melledy
parent e0b84e2751
commit 6c6e206a88

View File

@ -252,6 +252,7 @@ public class GameSession extends KcpChannel {
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
} finally { } finally {
data.release();
packet.release(); packet.release();
} }
} }