Ensure we always drop the federation inbound lock (#10336)

This commit is contained in:
Erik Johnston 2021-07-09 10:16:54 +01:00 committed by GitHub
parent 974261cd81
commit 1579fdd54a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

View file

@ -949,6 +949,7 @@ class FederationServer(FederationBase):
room_id, room_version
)
if not next:
await lock.release()
return
origin, event = next