Skip to content

Commit

Permalink
Null check
Browse files Browse the repository at this point in the history
  • Loading branch information
QilongTang committed Oct 6, 2023
1 parent 924c7c1 commit c38e028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DynamoCoreWpf/ViewModels/Core/WorkspaceViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ public override void Dispose()
Errors.Clear();
Annotations.Clear();
InCanvasSearchViewModel?.Dispose();
NodeAutoCompleteSearchViewModel.LuceneUtility.DisposeAll();
NodeAutoCompleteSearchViewModel.LuceneUtility?.DisposeAll();
NodeAutoCompleteSearchViewModel?.Dispose();
}

Expand Down

0 comments on commit c38e028

Please sign in to comment.