Commit b36db6ac by Erik Sundell

unregister all query editor event listeners

parent c79d8b2a
......@@ -178,6 +178,10 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
}
}
componentWillUnmount() {
this.exploreEvents.removeAllListeners();
}
async setDatasource(datasource: any, origin?: DataSource) {
const supportsGraph = datasource.meta.metrics;
const supportsLogs = datasource.meta.logs;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment