delete sqlfile on exit
This commit is contained in:
parent
8221fb8ff7
commit
232f7340f0
|
@ -106,11 +106,11 @@ public class DatabaseTask extends Task {
|
|||
pb.stepTo(progressMonitor.getTotalWork());
|
||||
} catch (Exception exception) {
|
||||
exception.printStackTrace();
|
||||
FileUtils.deleteQuietly(outputSQLFile);
|
||||
outputSQLFile.deleteOnExit();
|
||||
onDone();
|
||||
}
|
||||
progressMonitor.endProgressMonitor();
|
||||
FileUtils.deleteQuietly(outputSQLFile);
|
||||
outputSQLFile.deleteOnExit();
|
||||
onDone();
|
||||
} catch (Exception ex) {
|
||||
ex.printStackTrace();
|
||||
|
|
Loading…
Reference in New Issue
Block a user