1
0
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:
Darien Raymond
2018-11-17 22:45:07 +01:00
parent b41513f644
commit 0f324a613e
15 changed files with 46 additions and 51 deletions

View File

@@ -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))