diff --git a/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/OutMessage.kt b/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/OutMessage.kt index aceb6b0f35de..ecf15e5bb27f 100644 --- a/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/OutMessage.kt +++ b/platform/script-debugger/protocol/protocol-reader-runtime/src/org/jetbrains/jsonProtocol/OutMessage.kt @@ -12,7 +12,7 @@ import io.netty.buffer.ByteBufUtf8Writer import org.jetbrains.io.JsonUtil open class OutMessage() { - val buffer: ByteBuf = ByteBufAllocator.DEFAULT.heapBuffer() + val buffer: ByteBuf = ByteBufAllocator.DEFAULT.buffer() val writer: JsonWriter = JsonWriter(ByteBufUtf8Writer(buffer)) private var finalized: Boolean = false