Skip to content

Commit

Permalink
Possible fix for a deadlock
Browse files Browse the repository at this point in the history
  • Loading branch information
toomasr committed Dec 6, 2020
1 parent 0923427 commit 72a235c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/java/featurecat/lizzie/analysis/Leelaz.java
Original file line number Diff line number Diff line change
Expand Up @@ -766,9 +766,7 @@ public void shutdown() {
}

public List<MoveData> getBestMoves() {
synchronized (this) {
return bestMoves;
}
return bestMoves;
}

public Optional<String> getDynamicKomi() {
Expand Down

0 comments on commit 72a235c

Please sign in to comment.