Commit 3c55aa64 authored by Akka's avatar Akka Committed by Melledy
Browse files

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

parent b852f384
...@@ -252,6 +252,7 @@ public class GameSession extends KcpChannel { ...@@ -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();
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment