You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Media is only written upon initialization of the object and is surely non-nil at that time. I think secondaryStream became nil because prefetchNext runs in a goroutine and shouldn't access that stuff directly as the goroutine that handles command may be changing stuff (for example in loadCurrentTrack).
It is not trivial to fix, but hopefully shouldn't happen very often.
Not entirely sure how I triggered it, but there's a nil pointer dereference path in:
go-librespot/cmd/daemon/controls.go
Lines 40 to 42 in b98dad6
I suppose
p.secondaryStream.Media
is nil here?The text was updated successfully, but these errors were encountered: