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:
parent
db0bb071f5
commit
aa5fbb2980
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user