Fix macOS crash on quit due to CADisplayLink teardown race #128
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
OragonEfreet/banjo!128
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/macos-quit-crash"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Calling [CADisplayLink invalidate] directly during video teardown
could crash with "Unlock of an os_unfair_lock not owned by current
thread" if a display link callback was in progress.
Fix by:
it runs after any in-progress callback completes