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
This usually comes down to application architecture, which I run into myself a lot. Was getting deadlocks until I read this part on the README.
By default dispatch_get_main_queue is used, thus making all delegate methods calls run on the main thread. It is important to note that all WebSocket processing is done on a background thread, only the delegate method calls are changed when modifying the queue. The actual processing is always on a background thread and will not pause your app.
It's very important to understand what thread model this (and other websocket libraries) run on.
We're seeing occasional deadlocks where jetfire is the only active thread. Any chance this starscream issue is also a jetfire issue? I'm guessing not.
daltoniam/Starscream#164 (comment)
The text was updated successfully, but these errors were encountered: