mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-05 17:35:28 +02:00
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>
1 line
112 B
Text
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.
|