SwiftKickMobile/SwiftMessages
在 GitHub 查看window being accessed from background thread when dequeueNext is called
Open
#535 创建于 2023年11月14日
bughelp wanted
仓库指标
- Star
- (7,449 star)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
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.