0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-02 12:48:57 +01:00
synapse/changelog.d/12358.misc
Sean Quah 79e7c2c426
Fix edge case where a Linearizer could get stuck (#12358)
Just after a task acquires a contended `Linearizer` lock, it sleeps.
If the task is cancelled during this sleep, we need to release the lock.

Signed-off-by: Sean Quah <seanq@element.io>
2022-04-05 17:19:16 +01:00

1 line
112 B
Text

Fix a long-standing bug where `Linearizer`s could get stuck if a cancellation were to happen at the wrong time.