Skip to content

Commit 66a1e8b

Browse files
committed
clean more
1 parent b7935d0 commit 66a1e8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

type_holder.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ type accDataHolder[T AccGraphic | AccPhysics | AccStatic] struct {
88
func (d *accDataHolder[T]) Close() error {
99
if d.mmap != nil {
1010
d.mmap.Close()
11+
d.mmap = nil
1112
}
1213
d.data = nil
1314
return nil

0 commit comments

Comments
 (0)