Clean working directory after fetching the config
This commit is contained in:
@@ -130,8 +130,6 @@ import okhttp3.HttpUrl;
|
|||||||
step = this.log.newCheckPoint();
|
step = this.log.newCheckPoint();
|
||||||
this.gui.status("Starting");
|
this.gui.status("Starting");
|
||||||
|
|
||||||
this.configuration.cleanWorkingDirectory();
|
|
||||||
|
|
||||||
Error.Type ret;
|
Error.Type ret;
|
||||||
ret = this.server.getConfiguration();
|
ret = this.server.getConfiguration();
|
||||||
|
|
||||||
@@ -161,7 +159,10 @@ import okhttp3.HttpUrl;
|
|||||||
}
|
}
|
||||||
}, this.configuration.getShutdownTime());
|
}, this.configuration.getShutdownTime());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check integrity of all files in the working directories
|
||||||
|
this.configuration.cleanWorkingDirectory();
|
||||||
|
|
||||||
this.startTime = new Date().getTime();
|
this.startTime = new Date().getTime();
|
||||||
this.server.start(); // for staying alive
|
this.server.start(); // for staying alive
|
||||||
|
|
||||||
@@ -507,8 +508,7 @@ import okhttp3.HttpUrl;
|
|||||||
OS.getOS().kill(this.renderingJob.getProcessRender().getProcess());
|
OS.getOS().kill(this.renderingJob.getProcessRender().getProcess());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// this.configuration.workingDirectory.delete();
|
|
||||||
this.configuration.removeWorkingDirectory();
|
this.configuration.removeWorkingDirectory();
|
||||||
|
|
||||||
if (this.server == null) {
|
if (this.server == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user