mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-02 14:02:44 +02:00
Use buffered channel to receive read error.
This commit is contained in:
parent
c91b0de254
commit
0d1c546355
|
@ -191,7 +191,7 @@ func NewTestClient(t *testing.T, server *httptest.Server, hub *Hub) *TestClient
|
|||
}
|
||||
|
||||
messageChan := make(chan []byte)
|
||||
readErrorChan := make(chan error)
|
||||
readErrorChan := make(chan error, 1)
|
||||
|
||||
go func() {
|
||||
for {
|
||||
|
|
Loading…
Reference in a new issue