Skip to content

Commit

Permalink
Issue eclipse-lsp4e#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 6a9dff9 commit 16be459
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 16be459

Please sign in to comment.