Skip to content

Commit

Permalink
Issue #3 - Avoid error in compare editor
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelistria committed Nov 17, 2021
1 parent 0b2f972 commit 860ffbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ private void updateLinkedEditingHighlights() {
* a progress monitor
*/
private void updateLinkedEditingAnnotations(IAnnotationModel annotationModel, IProgressMonitor monitor) {
if (monitor.isCanceled()) {
if (monitor.isCanceled() || annotationModel == null) {
return;
}

Expand Down

0 comments on commit 860ffbc

Please sign in to comment.