mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-02 22:03:09 +02:00
Add locking to "wakeupChanForTesting" of GRPC clients.
This commit is contained in:
parent
c4fce20678
commit
0cd4099f7b
|
@ -37,6 +37,9 @@ import (
|
|||
)
|
||||
|
||||
func (c *GrpcClients) getWakeupChannelForTesting() <-chan struct{} {
|
||||
c.mu.Lock()
|
||||
defer c.mu.Unlock()
|
||||
|
||||
if c.wakeupChanForTesting != nil {
|
||||
return c.wakeupChanForTesting
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue