Skip to content

Commit

Permalink
Remove reload listener in visualize (elastic#17715) (elastic#17716)
Browse files Browse the repository at this point in the history
  • Loading branch information
timroes authored Apr 16, 2018
1 parent 1a2fc68 commit e3d2c40
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ui/public/visualize/visualize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e3d2c40

Please sign in to comment.