mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-28 09:54:47 +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( !compress ) return buffer;
|
||||||
if( compressed != null ) return compressed;
|
if( compressed != null ) return compressed;
|
||||||
|
|
||||||
ByteBuf compressed = Unpooled.directBuffer();
|
ByteBuf compressed = Unpooled.buffer();
|
||||||
OutputStream stream = null;
|
OutputStream stream = null;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user