-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui):
TimelineInnerStateLock::lock
is replaced by read
and `w…
…rite`. This patch splits the `TimelineInnerStateLock::lock` method into `::read` and `::write`. The idea is that a read-only lock doesn't hold a clone of the lock release observer (`lock_release_ob: SharedObservable<()>`), it will not notify the observer. Then it's only the write lock that holds a clone of the lock release observer, and will notify it. This patch updates the code accordingly as best as possible.
- Loading branch information
Showing
3 changed files
with
56 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters