-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Polling does not stop after unmounting query #11750
Comments
Thanks for the report @dylanwulf! We've got 3.10 in rc that we'll be releasing next week. We'll see if we can take a look at this sometime after that goes out 🙂 |
Hey @dylanwulf 👋 I've got a fix for this issue in #11837. Thanks so much for your reproduction which helped me narrow down the issue here! I can confirm that installing the snapshot release fixes this issue. If you'd like to try it yourself, you can install it with the following command:
We should be able to get this out with the next patch release. |
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Client usage and allow us to serve you better. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue Description
When I mount a polling query and then later unmount it, I would expect the polling to stop. But instead the polling seems to continue.
Link to Reproduction
https://github.com/dylanwulf/react-apollo-error-template/tree/polling-doesnt-stop
Reproduction Steps
polling-doesnt-stop
@apollo/client
versiontried 3.7.12 & 3.9.9, problem exists in both
The text was updated successfully, but these errors were encountered: