mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-23 08:55:41 +00:00
Fix NPE
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user