This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Crash on reconnect #9
Comments
Hey! Thank you for reporting this, I'm gonna check and add some unit tests for the future! |
Hi, have the same issue - app crashes after few minutes, reason - 'Cannot call -(void)open on SRWebSocket more than once' |
@aparandiy Seems like this repo not supporting. You can look at Apollo project. |
if I am listening for subscriptions from one controller - all works perfect, but if i connect subscriptions more than one controller - it works, but after few minutes of using the app crashes with reason - Cannot call -(void)open on SRWebSocket more than once |
Ok I see where is the bug, I need to rush and push two solutions:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have such crash. It occurring in ~1 minute after running app if I specify
reconnect: true
ingql.initServer(connectionParams: nil, reconnect: true)
If I set reconnect to false, there won't be crash, but subscription will stop in 1 minute without any notice.
The text was updated successfully, but these errors were encountered: