We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb51e80 commit fe9d65dCopy full SHA for fe9d65d
1 file changed
crates/matrix-sdk-common/changelog.d/6674.fixed.md
@@ -0,0 +1,10 @@
1
+Dropping `CrossProcessLock` no longer releases the lock if a `CrossProcessGuard`
2
+is still alive.
3
+
4
+An important problem has been found with the `CrossProcessLock`. We noticed
5
+that when a `CrossProcessLock` is dropped, all `CrossProcessLockGuard`s report
6
+0 holder, and thus, the lock is released, but it's wrong. As long as guards are
7
+alive, the lock **MUST NOT** be released. Dropping all the guards releases the
8
+lock, but dropping the `CrossProcessLock` —which is not the lock in itself— must
9
+not dropped the acquired lock.
10
+There is no public changes, but the incorrect behaviour is now fixed.
0 commit comments