kean/Get

Crashes with Swift 5.7 and Xcode14

Closed this issue · 6 comments

I'm seeing this crash with Get 1.0.3 on an iOS App (code got generated with CreateAPI).

Screenshot 2022-09-17 at 20 46 48

kean commented

Are you implementing this method (didCreateTask) in your code? Which thread does it get called on?

Those methods are not implemented. I will check next time, when I catch the crash. (it appears randomly)

kean commented

Thanks for the report. I'm able to reproduce it.

I think it's because didCreateTask, unlike all other delegate methods, is called synchronously on the callers thread, and not on the session's delegate queue.

kean commented

Fixed in 2.1.1

Thanks for the fix. Unfortunately CreateAPI didn't move yet to v2. Would it be possible to backport the fix?

kean commented

Yes, I created two patches, including 1.0.4 for 1.x.