Download swift - appwrtie - sdk -> import appwrtie to some class and make subscription func with one of the subscriptions method inside the realtime sdk the same as in the Realtime doc (and put inside the channel/channels some channel no matter what) -> Turn on Xcode Thread sanitizer tool -> trigger the func no matter from where -> run the app and look inside the console you will see Data race error !
👍 Expected behavior
sync the threads properly without data race issue
👎 Actual Behavior
not sync the threads properly and have data race issue
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
MacOS
🧱 Your Environment
4.0.2
👀 Have you spent some time to check if this issue has been raised before?
👟 Reproduction steps
Download swift - appwrtie - sdk -> import appwrtie to some class and make subscription func with one of the subscriptions method inside the realtime sdk the same as in the Realtime doc (and put inside the channel/channels some channel no matter what) -> Turn on Xcode Thread sanitizer tool -> trigger the func no matter from where -> run the app and look inside the console you will see Data race error !
👍 Expected behavior
sync the threads properly without data race issue
👎 Actual Behavior
not sync the threads properly and have data race issue
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
MacOS
🧱 Your Environment
4.0.2
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?