We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e0dc55 commit 4db536dCopy full SHA for 4db536d
1 file changed
soot-infoflow/src/soot/jimple/infoflow/util/ReusableExecutor.java
@@ -21,9 +21,8 @@ public ReusableExecutor(ExecutorService executor) {
21
}
22
23
public void waitUntilFinished() throws InterruptedException {
24
-
25
- synchronized (obj) {
26
- while (counter.get() > 0) {
+ while (counter.get() > 0) {
+ synchronized (obj) {
27
obj.wait();
28
29
0 commit comments