From 884a2d3c15d15551b25833dedafb9e9d4e7fc581 Mon Sep 17 00:00:00 2001 From: Markus Busche Date: Sun, 22 Mar 2026 13:25:26 +0100 Subject: [PATCH] Update server/nativeapi/radios.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- server/nativeapi/radios.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/nativeapi/radios.go b/server/nativeapi/radios.go index 2d5f91943..3a734c455 100644 --- a/server/nativeapi/radios.go +++ b/server/nativeapi/radios.go @@ -113,7 +113,8 @@ func (api *Router) radioBrowserClick() http.HandlerFunc { http.Error(w, "streamUrl required", http.StatusBadRequest) return } - go func(u string) { +go func(u string) { + defer func() { _ = recover() }() ctx, cancel := context.WithTimeout(context.Background(), 8*time.Second) defer cancel() radiobrowser.NotifyClick(ctx, u)