danielrhodes / Swift-ActionCableClient

ActionCable is a new WebSocket server being released with Rails 5 which makes it easy to add real-time features to your app. This Swift client makes it dead-simple to connect with that server, abstracting away everything except what you need to get going.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ThreadSanitizer: Swift access race

fahidattique55 opened this issue · comments

Hey @danielrhodes

I am receiving swift access race while connecting socket. Please have a look into the Images below for more understanding.

screenshot 2018-10-30 at 5 52 13 pm

screenshot 2018-10-30 at 5 49 39 pm

@danielrhodes

I have created a merge request #52 for it. I have tested the code and it's not giving the swift race access issue after wrapping it under a sync queue. Please have a look into it and let me know if you need me for anything.

Thanks

Found some issue in #52 so don't merge that one. I have created another patch and its under testing. Once its complete then I will create a new merge request.

@danielrhodes Please see #53 my updated pull request which we have tested a lot.

@nerzh you rock man 👍