mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-01-06 09:15:37 -05:00
remove MultiBuffer.Release
This commit is contained in:
@@ -36,7 +36,7 @@ func TestStatsWriter(t *testing.T) {
|
||||
common.Must2(mb.Write([]byte("abcd")))
|
||||
common.Must(writer.WriteMultiBuffer(mb))
|
||||
|
||||
mb.Release()
|
||||
mb = buf.ReleaseMulti(mb)
|
||||
common.Must2(mb.Write([]byte("efg")))
|
||||
common.Must(writer.WriteMultiBuffer(mb))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user