mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-30 00:57:55 +00:00
Use heap buffers rather than direct ones
Closes #855, even if it doesn't really fix it.
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user