You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the beginBackgrountTask happens on a secondary thread this is a potential race condition because the handler is always called on the main thread. This used to produce a capture before initialization error in previous versions of swift.
The text was updated successfully, but these errors were encountered:
Environment
Xcode 12.5
Additional Detail from JIRA
md5: 42011c7b79c4ca46cd8ab5322d9e3add
Issue Description:
This code used to cause an error and no longer does.
If I mimic the UIKit code and write my own version, it properly causes an error.
If the beginBackgrountTask happens on a secondary thread this is a potential race condition because the handler is always called on the main thread. This used to produce a capture before initialization error in previous versions of swift.
The text was updated successfully, but these errors were encountered: