clear reference on release

This commit is contained in:
Darien Raymond
2017-04-16 13:12:58 +02:00
parent 2f565bfd5e
commit 5c2cabb44e
+2 -1
View File
@@ -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
}
}