Use evalAsync instead of digest() (#3001)

Co-authored-by: Deep Tailor <deep.j.tailor@nasa.gov>
This commit is contained in:
Andrew Henry 2020-05-05 12:23:41 -07:00 committed by GitHub
parent a70facf0c8
commit a5f3ba6259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,8 +227,9 @@ define([
};
PlotController.prototype.stopLoading = function () {
this.$scope.pending -= 1;
this.$scope.$digest();
this.$scope.$evalAsync(() => {
this.$scope.pending -= 1;
});
};
/**