Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app_server: fix race condition in alpha mask cloning
* Add a lock which is acquired when reattaching/regenerating masks, and also acquired for a cached mask before making a clone of it, to prevent the clone from having an inconsistent state in concurrent edge cases. * Maybe fixes #12469
- Loading branch information
1 parent
97921e3
commit 3c9d8d6
Showing
2 changed files
with
10 additions
and
0 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