Is it even necessary? Doesn't Go take care of unmapping the mmap'd region when the object is garbage collected? https://github.com/golang/exp/blob/85be41e4509f/mmap/mmap_unix.go#L115
If that's not true, can you show some more of your code to explain the problem? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/87f5eeb0-31d0-4fbe-8ba4-ac3e45889f4fn%40googlegroups.com.