mirror of
https://github.com/navidrome/navidrome.git
synced 2026-05-03 06:51:16 +00:00
Update server/nativeapi/radios.go
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
78b6a899ee
commit
884a2d3c15
@ -114,6 +114,7 @@ func (api *Router) radioBrowserClick() http.HandlerFunc {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
go func(u string) {
|
go func(u string) {
|
||||||
|
defer func() { _ = recover() }()
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), 8*time.Second)
|
ctx, cancel := context.WithTimeout(context.Background(), 8*time.Second)
|
||||||
defer cancel()
|
defer cancel()
|
||||||
radiobrowser.NotifyClick(ctx, u)
|
radiobrowser.NotifyClick(ctx, u)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user