Remove reload listener in visualize (#17715)

This commit is contained in:
Tim Roes 2018-04-16 15:21:52 +02:00 committed by GitHub
parent 7db1252eca
commit 19b9265425
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);