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
instances multiple listeners, even if a call to .unsubscribe is made.
Each time I leave a page and re-enter on it, a new listener is added, resulting in multiple query launched (visible from the console log).
Hi,
I found that calling multiple times
const subscription = this.geo.query<any>(ref).within(center, radius, 'position', { log: true })
instances multiple listeners, even if a call to
.unsubscribe
is made.Each time I leave a page and re-enter on it, a new listener is added, resulting in multiple query launched (visible from the console log).
Am I missing something or is this a known issue?
PS: The code provided is an exemplification, as I'm using it on a combineLatest structure and obviously using a subscribe() on the result.
The text was updated successfully, but these errors were encountered: