1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-01-14 19:25:43 +00:00

Use heap buffers rather than direct ones

Closes #855, even if it doesn't really fix it.
This commit is contained in:
Jonathan Coates 2021-07-15 11:55:52 +01:00
parent db0bb071f5
commit aa5fbb2980
No known key found for this signature in database
GPG Key ID: B9E431FF07C98D06

View File

@ -126,7 +126,7 @@ public class TerminalState
if( !compress ) return buffer;
if( compressed != null ) return compressed;
ByteBuf compressed = Unpooled.directBuffer();
ByteBuf compressed = Unpooled.buffer();
OutputStream stream = null;
try
{