We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7935d0 commit 66a1e8bCopy full SHA for 66a1e8b
type_holder.go
@@ -8,6 +8,7 @@ type accDataHolder[T AccGraphic | AccPhysics | AccStatic] struct {
8
func (d *accDataHolder[T]) Close() error {
9
if d.mmap != nil {
10
d.mmap.Close()
11
+ d.mmap = nil
12
}
13
d.data = nil
14
return nil
0 commit comments