Skip to content

Commit

Permalink
do nothing if project is disposed
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlermitage committed Feb 10, 2021
1 parent f11715b commit 231226a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void logError(@NotNull Throwable e) {
@Override
public Icon getIcon(@NotNull FilePath filePath, @Nullable Project project) {
try {
if (project != null) {
if (project != null && !project.isDisposed()) {
VirtualFile file = filePath.getVirtualFile();
if (file == null) {
return null;
Expand Down

0 comments on commit 231226a

Please sign in to comment.