mirror of https://github.com/Dreamacro/clash.git
Fix: put correctly pool
This commit is contained in:
parent
d71324069d
commit
85f4cb23fc
|
@ -27,5 +27,5 @@ func GetBytesBuffer() *protobytes.BytesWriter {
|
|||
|
||||
func PutBytesBuffer(buf *protobytes.BytesWriter) {
|
||||
buf.Reset()
|
||||
bufferPool.Put(buf)
|
||||
bytesBufferPool.Put(buf)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue