mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Remove reload listener in visualize (#17715)
This commit is contained in:
parent
7db1252eca
commit
19b9265425
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ uiModules
|
|||
|
||||
$scope.$on('$destroy', () => {
|
||||
destroyed = true;
|
||||
$scope.vis.removeListener('reload', reload);
|
||||
$scope.vis.removeListener('update', handleVisUpdate);
|
||||
queryFilter.off('update', handleQueryUpdate);
|
||||
$scope.uiState.off('change', $scope.fetch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue