Fix freeing up S3 mounts

This commit is contained in:
Ingo Oppermann
2023-03-17 18:40:20 +01:00
parent 562b7aed92
commit 3149572a64

View File

@@ -1342,6 +1342,9 @@ func (a *api) stop() {
a.cache = nil
}
// Free the S3 mounts
a.s3fs = map[string]fs.Filesystem{}
// Stop the SRT server
if a.srtserver != nil {
a.log.logger.srt.Info().Log("Stopping ...")