Iterable / swift-sdk

Iterable's iOS SDK. Receive and track pushes to Iterable from your iOS app.
https://iterable.com/
MIT License
86 stars 68 forks source link

Swift access race in IterableSDK.Pending.onSuccess #767

Open yungkienpoh-prestolabs opened 2 months ago

yungkienpoh-prestolabs commented 2 months ago

Hi, when I run my project with ThreadSanitizer, Xcode has discovered a Swift access race issue in IterableSDK.Pending.onSuccess function. I am using Iterable with version 6.5.2.

It seems to happen when I set the userId but you can further check on this.

Did you know about it and currently working on resolving this issue? Here are the screenshots for better understanding:

Screenshot 2024-05-03 at 12 24 48 PM