Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Call this.currentObservable.tearDownQuery more consistently (#7259)
Follow-up to #7205, per my comment in #7254: #7254 (comment) Instead of tearing down this.currentObservable only when this.getOptions().skip is true in QueryData#removeQuerySubscription, I split the tear-down functionality into a separate private method (QueryData#removeObservable), which is now called everywhere removeQuerySubscription is called, except in resubscribeToQuery, where we specifically want to preserve this.observableQuery.
- Loading branch information