mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Fix mutex unlock
This commit is contained in:
parent
1364d85985
commit
8ab5ad2fb5
|
|
@ -79,7 +79,7 @@ func (r *Inputer) startWorkerForRoom(roomID string) {
|
|||
})
|
||||
w := v.(*worker)
|
||||
w.Lock()
|
||||
defer w.Lock()
|
||||
defer w.Unlock()
|
||||
if !loaded || w.subscription == nil {
|
||||
consumer := r.Cfg.Matrix.JetStream.Prefixed("RoomInput" + jetstream.Tokenise(w.roomID))
|
||||
subject := r.Cfg.Matrix.JetStream.Prefixed(jetstream.InputRoomEventSubj(w.roomID))
|
||||
|
|
|
|||
Loading…
Reference in a new issue