% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{.registerTrackFile}
\alias{.registerTrackFile}
\title{Have a path removed when the session ends}
\usage{
.registerTrackFile(session, path)
}
\arguments{
\item{session}{a shiny session object}

\item{path}{character string, the path to remove when the session ends}
}
\value{
the path, unchanged
}
\description{
The companion of \code{.trackFile}, for the files a loader does
not name itself: \code{rtracklayer::export(format = "BAM")} writes an index
next to the bam it was given, and that index is served and leaks the same
way. The path need not exist yet, or ever - \code{unlink()} does not mind.
}
\keyword{internal}
