SwiftKickMobile/SwiftMessages
View on GitHubwindow being accessed from background thread when dequeueNext is called
Open
#535 opened on Nov 14, 2023
bughelp wanted
Repository metrics
- Stars
- (7,449 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
dequeueNext is being called from a background queue here.
This in turn does a check to the isOrphaned property here.
The isOrphaned property does a check to the view.window property here.
This triggers an XCode warning with "UIView.window must be used from main thread only". This can lead to possible crashes.