Skip to content

Commit

Permalink
Fix error for null NMS
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Jan 7, 2024
1 parent 78bfa40 commit c2d3c38
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ public void showNMS(boolean showNMS){
im_.setDisplayRange(im_.getStatistics().min, im_.getStatistics().max);
im_.show();
} else {
im_.close();
if(im_ != null) {
im_.close();
}
}
}

Expand Down

0 comments on commit c2d3c38

Please sign in to comment.