mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 10:47:19 +03:00
Forgot to allocate done
channel
This commit is contained in:
parent
8b92796a5c
commit
e27d917bd4
@ -144,6 +144,7 @@ func (b *broker) subscribe(r *http.Request) client {
|
||||
address: r.RemoteAddr,
|
||||
userAgent: r.UserAgent(),
|
||||
channel: make(messageChan, 5),
|
||||
done: make(chan struct{}),
|
||||
}
|
||||
|
||||
// Signal the broker that we have a new client
|
||||
|
Loading…
x
Reference in New Issue
Block a user