mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Do not allocate Netty's heap buffer explicitly
GitOrigin-RevId: 61900943e3b90fd37e7c804562b058024664f290
This commit is contained in:
committed by
intellij-monorepo-bot
parent
986a885f3e
commit
42609085fc
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user