Fix Worker.java
This commit is contained in:
parent
663951d8eb
commit
abb541bfba
|
@ -16,7 +16,7 @@ public class Worker implements Runnable {
|
||||||
public void run() {
|
public void run() {
|
||||||
// Do some work
|
// Do some work
|
||||||
System.out.println("Doing some logic");
|
System.out.println("Doing some logic");
|
||||||
countDownLatch.countDown();
|
|
||||||
outputScraper.add("Counted down");
|
outputScraper.add("Counted down");
|
||||||
|
countDownLatch.countDown();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue