mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-21 08:39:24 +01:00
updated settings cleanup to prevent issue with the update process
Former-commit-id: deba93c236f7f441df73e44ec57a4fc52260f965
This commit is contained in:
@@ -203,7 +203,7 @@ public class CallableDownloadTask implements Callable<Future<ProcessTask>> {
|
|||||||
LOGGER.log(Level.WARNING, msg);
|
LOGGER.log(Level.WARNING, msg);
|
||||||
LOGGER.log(Level.FINE, "Download Task Failed", ex);
|
LOGGER.log(Level.FINE, "Download Task Failed", ex);
|
||||||
} finally {
|
} finally {
|
||||||
Settings.cleanup();
|
Settings.cleanup(false);
|
||||||
}
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ public class ProcessTask implements Callable<ProcessTask> {
|
|||||||
} catch (UpdateException ex) {
|
} catch (UpdateException ex) {
|
||||||
this.exception = ex;
|
this.exception = ex;
|
||||||
} finally {
|
} finally {
|
||||||
Settings.cleanup();
|
Settings.cleanup(false);
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user