mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-17 05:06:14 +02:00
Fixup: don't decrement virtual sessions twice.
This commit is contained in:
parent
ce1b3fc6e2
commit
6841d1495f
1
hub.go
1
hub.go
|
@ -1629,7 +1629,6 @@ func (h *Hub) processInternalMsg(client *Client, message *ClientMessage) {
|
|||
h.mu.Unlock()
|
||||
if sess != nil {
|
||||
log.Printf("Session %s removed virtual session %s", session.PublicId(), sess.PublicId())
|
||||
statsHubSessionsCurrent.WithLabelValues(session.Backend().Id(), sess.ClientType()).Dec()
|
||||
if vsess, ok := sess.(*VirtualSession); ok {
|
||||
// We should always have a VirtualSession here.
|
||||
vsess.CloseWithFeedback(session, message)
|
||||
|
|
Loading…
Reference in a new issue