Fixed freeze on end game

This commit is contained in:
Oleg Agafonov 2018-01-28 06:47:53 +04:00
parent 62a40ab459
commit c2d661eca7

View file

@ -1761,7 +1761,7 @@ public class HumanPlayer extends PlayerImpl {
synchronized (response) {
response.setBoolean(responseBoolean);
response.notifyAll();
logger.info("Got response boolean from player: " + getId());
logger.debug("Got response boolean from player: " + getId());
}
}
@ -1787,7 +1787,7 @@ public class HumanPlayer extends PlayerImpl {
@Override
public void signalPlayerConcede() {
waitResponseOpen();
//waitResponseOpen(); //concede is direct event, no need to wait it
synchronized (response) {
response.setResponseConcedeCheck();
response.notifyAll();