This commit is contained in:
crschnick 2024-09-26 07:40:46 +00:00
parent 6241b2184a
commit 735e73ad23

View file

@ -98,8 +98,10 @@ class ScanDialog extends DialogComp {
@Override
protected void discard() {
ThreadHelper.runAsync(() -> {
shellValidationContext.close();
shellValidationContext = null;
if (shellValidationContext != null) {
shellValidationContext.close();
shellValidationContext = null;
}
});
}