mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 00:03:09 -06:00
Fix deadlock
This commit is contained in:
parent
029f9ce522
commit
1d868763f8
|
|
@ -287,7 +287,7 @@ func (oq *destinationQueue) backgroundSend() {
|
|||
}
|
||||
oq.pendingPDUs = nil
|
||||
oq.pendingEDUs = nil
|
||||
oq.pendingMutex.Lock()
|
||||
oq.pendingMutex.Unlock()
|
||||
return
|
||||
}
|
||||
if until != nil && until.After(time.Now()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue