Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix double unsubscribe calls for Urql and Relay subscriptions #5150

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

vbatychko-modeln
Copy link
Contributor

Fixes #5149

  • prevent double unsubscribe calls in createUrqlActionCableSubscription
  • call onCompleted only when we subscribed to AC for Relay & Urql handlers

Fixes rmosolgo#5149

- prevent double unsubscribe calls in createUrqlActionCableSubscription
- call onCompleted only when we subscribed to AC for Relay & Urql handlers
@rmosolgo rmosolgo merged commit cf0096a into rmosolgo:master Nov 8, 2024
14 of 15 checks passed
@rmosolgo
Copy link
Owner

rmosolgo commented Nov 8, 2024

Thanks for sharing this fix! I just released it to NPM in v1.14.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Issue with duplicate unsubscribe calls when using Urql & ActionCable
2 participants