nil data when the scope is done

This commit is contained in:
vyzo
2021-12-27 22:47:22 +02:00
parent 25825bc4f5
commit 09ad519687

View File

@@ -421,6 +421,7 @@ func (b *Buffer) Release() {
}
if b.s.done {
b.data = nil
return
}