Commit 63f1bbb3 authored by Lukas Weber's avatar Lukas Weber Committed by Carsten Heinz

Ensured that the progress Tracker will close after Compose is done.

parent 43469d47
......@@ -85,7 +85,8 @@ class VivadoComposer()(implicit cfg: Configuration) extends Composer {
stdoutString => logger.trace("Vivado: {}", stdoutString),
stderrString => logger.trace("Vivado ERR: {}", stderrString)
))
lt.closeAll
lt.closeAll()
pt.closeAll()
// check retcode
if (r == InterruptibleProcess.TIMEOUT_RETCODE) {
......
......@@ -78,6 +78,10 @@ class ProgressTrackingFileWatcher(_logger: Option[Logger] = None, pollInterval:
logger.info("Started %s (Total Elapsed: %s)".format(progressionString, timeString(start)))
stageStart = System.currentTimeMillis()
//This ensures that this watcher will close all opened files if he reaches the final state.
if(currentState == progressionStringsInfo.length) {
closeAll()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment