Skip to content

Fix crash due to race condition

Latest
Compare
Choose a tag to compare
@lizapopova lizapopova released this 28 Apr 20:15
· 1 commit to master since this release

Because the addition of a header view is synchronous, but view removal is done in View.post(), there can be a case when two adds happen in a row, and it can lead to a crash. Performing both operations in View.post() resolves the issue.