diff --git a/DroidFishApp/src/main/java/org/petero/droidfish/engine/DroidComputerPlayer.java b/DroidFishApp/src/main/java/org/petero/droidfish/engine/DroidComputerPlayer.java index 86ea745..9b89acf 100644 --- a/DroidFishApp/src/main/java/org/petero/droidfish/engine/DroidComputerPlayer.java +++ b/DroidFishApp/src/main/java/org/petero/droidfish/engine/DroidComputerPlayer.java @@ -925,7 +925,8 @@ public class DroidComputerPlayer { } private synchronized int getReadTimeout() { - boolean needGuiUpdate = depthModified || currMoveModified || pvModified || statsModified; + boolean needGuiUpdate = (searchRequest != null && searchRequest.currPos != null) && + (depthModified || currMoveModified || pvModified || statsModified); int timeout = 2000000000; if (needGuiUpdate) { long now = System.currentTimeMillis();