mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
79e7c2c426
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>
2 lines
112 B
Plaintext
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.
|