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)