Skip to content

Commit

Permalink
Merge pull request akara#56 from whitingjr/issue-#1
Browse files Browse the repository at this point in the history
Count down the latch allowing Agents to shutdown.
  • Loading branch information
shanti committed Aug 30, 2013
2 parents beb30af + 45c58ad commit 96ed326
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion driver/src/com/sun/faban/driver/engine/AgentImpl.java
Expand Up @@ -382,7 +382,13 @@ public synchronized void abortRun() {
} catch (Exception e) {
// Just make sure we don't get stuck here.
}

if (preRunLatch != null)
try {
preRunLatch.countDown();
} catch (Exception e) {
// Just make sure we don't get stuck here.
}

try {
master.abortRun();
} catch (RemoteException e) {
Expand Down

0 comments on commit 96ed326

Please sign in to comment.