clear reference on release

pull/432/merge
Darien Raymond 2017-04-16 13:12:58 +02:00
parent 2f565bfd5e
commit 5c2cabb44e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 2 additions and 1 deletions

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
}
}