When we open an insight that could potentially load indefinitely, like #22999, after closing the loading insight and opening another insight, the web app doesn't cancel the first query and continues loading the first insight.
How to reproduce
Easy to reproduce on the insight from this ticket.
Open a funnel query with many steps (10+).
Click the browser back button.
Open an existing trends insight or create a new one.
The app continues to load the first insight.
Expected result
When a user leaves the Insight page, the app should abort the first request so that it stops trying to retrieve data.
Bug Description
Bug description
When we open an insight that could potentially load indefinitely, like #22999, after closing the loading insight and opening another insight, the web app doesn't cancel the first query and continues loading the first insight.
How to reproduce
Easy to reproduce on the insight from this ticket.
Expected result
When a user leaves the Insight page, the app should abort the first request so that it stops trying to retrieve data.
Additional Context
Support Ticket