synapse-product/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

2 lines
112 B
Plaintext

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