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());
|
pb.stepTo(progressMonitor.getTotalWork());
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
exception.printStackTrace();
|
exception.printStackTrace();
|
||||||
FileUtils.deleteQuietly(outputSQLFile);
|
outputSQLFile.deleteOnExit();
|
||||||
onDone();
|
onDone();
|
||||||
}
|
}
|
||||||
progressMonitor.endProgressMonitor();
|
progressMonitor.endProgressMonitor();
|
||||||
FileUtils.deleteQuietly(outputSQLFile);
|
outputSQLFile.deleteOnExit();
|
||||||
onDone();
|
onDone();
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user