mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 15:05:00 +00:00
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.