AJ ONeal 4ab9ffe364
feat(dataset): add View.Close and Set.Close for final-value cleanup
Previously only the *replaced* value was closed on swap — the
*currently-held* value leaked on process exit. Adds:

- View.Close() — closes the held value (if it implements io.Closer)
  and clears the pointer; idempotent.
- Set.Close() — joins Close errors across all views in the set.

form2mail defers geoSet.Close() to release the geoip2 file handles on
shutdown.
2026-04-20 22:23:32 -06:00
..