mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13: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.pendingPDUs = nil
|
||||||
oq.pendingEDUs = nil
|
oq.pendingEDUs = nil
|
||||||
oq.pendingMutex.Lock()
|
oq.pendingMutex.Unlock()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if until != nil && until.After(time.Now()) {
|
if until != nil && until.After(time.Now()) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue