% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/zzz.R
\name{.onUnload}
\alias{.onUnload}
\title{Package hook: cleanup on unload}
\usage{
.onUnload(libpath)
}
\arguments{
\item{libpath}{Library path (unused)}
}
\description{
Closes all open HDF5Dataset C++ objects and HDF5 file handles
when the package is unloaded. This prevents finalizers from running
after the C++ library is gone, which would cause crashes.
}
\keyword{internal}
