summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/net/sf/antcontrib/cpptasks/CCTask.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/net/sf/antcontrib/cpptasks/CCTask.java b/src/net/sf/antcontrib/cpptasks/CCTask.java
index 3825b22..c2b665f 100644
--- a/src/net/sf/antcontrib/cpptasks/CCTask.java
+++ b/src/net/sf/antcontrib/cpptasks/CCTask.java
@@ -718,8 +718,13 @@ public class CCTask extends Task {
}
}
-// FREEHEP
+// BEGINFREEHEP
progress.exit();
+ try {
+ progress.join();
+ } catch (InterruptedException e) {
+ }
+// ENDFREEHEP
//
// save the details of the object file compilation