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
I further simplified the case and attached a new one.
Interestingly, if we remove 'final' from 'Presenter' declaration, everything works fine. So it seems because of some optimisation Main actor isolation is not ensured
Attachment: Download
Additional Detail from JIRA
md5: 2e59f16869dc5cd2056f09f72289da88
Issue Description:
Having the code:
application crashes on the line:
If you run the project attached, you will see that @mainactor isolation is not ensured and this method is called from cooperative queue.
Interestingly, if I delete @mainactor from the declaration:
Method is ensured to be run on main, so no crash.
The text was updated successfully, but these errors were encountered: