SwiftKickMobile/SwiftMessages

window being accessed from background thread when dequeueNext is called

开放

#535 创建于 2023年11月14日

 (12 条评论) (0 个反应) (0 位负责人)Swift (754 个派生)batch import
bughelp wanted

仓库指标

星标
 (7,449 个星标)
PR 合并指标
 (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.

贡献者指南