mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-05 23:33:10 +02:00
Make sure "clientsMap" is updated so all clients are closed on shutdown.
This commit is contained in:
parent
952b8ae460
commit
bf68a15943
|
@ -490,6 +490,7 @@ func (c *GrpcClients) loadTargetsStatic(config *goconf.ConfigFile, fromReload bo
|
|||
entry, found := clientsMap[target]
|
||||
if !found {
|
||||
entry = &grpcClientsList{}
|
||||
clientsMap[target] = entry
|
||||
}
|
||||
entry.clients = append(entry.clients, client)
|
||||
clients = append(clients, client)
|
||||
|
|
Loading…
Reference in a new issue