From 3149572a648ab6ba499076e469bff38bfc5d217d Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Fri, 17 Mar 2023 18:40:20 +0100 Subject: [PATCH] Fix freeing up S3 mounts --- app/api/api.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/api/api.go b/app/api/api.go index f82846f5..695b7f40 100644 --- a/app/api/api.go +++ b/app/api/api.go @@ -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 ...")