wait only for ready.

This commit is contained in:
Miroslav Šedivý
2023-12-01 00:16:23 +01:00
parent 38e4cab3fe
commit 2ac5e83448
+2 -2
View File
@@ -88,8 +88,8 @@ func (p *ProxyManagerCtx) Start() {
Str("host", host).
Msg("got room event")
// terminate waiting for any event
if p.waitEnabled {
// terminate waiting for room ready event
if p.waitEnabled && msg.Action == types.RoomEventReady {
p.waitMu.Lock()
ch, ok := p.waitChans[path]
if ok {