mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-22 20:26:50 +00:00
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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user