forked from Qortal/qortal
Delete temp directories at the beginning of the bootstrap process too, as Windows doesn't like deleting it at the end of the process.
This commit is contained in:
parent
00401080e0
commit
3fb7df18a0
@ -207,6 +207,9 @@ public class Bootstrap {
|
||||
throw new DataException("Repository instance required in order to create a boostrap");
|
||||
}
|
||||
|
||||
LOGGER.info("Deleting temp directory if it exists...");
|
||||
this.deleteAllTempDirectories();
|
||||
|
||||
LOGGER.info("Acquiring blockchain lock...");
|
||||
ReentrantLock blockchainLock = Controller.getInstance().getBlockchainLock();
|
||||
blockchainLock.lockInterruptibly();
|
||||
|
Loading…
x
Reference in New Issue
Block a user