mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
clear reference on release
This commit is contained in:
parent
2f565bfd5e
commit
5c2cabb44e
@ -70,7 +70,8 @@ func (mb MultiBuffer) IsEmpty() bool {
|
||||
}
|
||||
|
||||
func (mb MultiBuffer) Release() {
|
||||
for _, b := range mb {
|
||||
for i, b := range mb {
|
||||
b.Release()
|
||||
mb[i] = nil
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user