It means we have already received "stop" or "quit" commands.
This fixes an hang in tactical test in Fritz GUI. Bug
introduced by previous bug fix :-(
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
// If we are pondering or in infinite search, we shouldn't print the
// best move before we are told to do so.
// If we are pondering or in infinite search, we shouldn't print the
// best move before we are told to do so.
- if (PonderSearch || InfiniteSearch)
+ if (!AbortSearch && (PonderSearch || InfiniteSearch))
wait_for_stop_or_ponderhit();
else
// Print final search statistics
wait_for_stop_or_ponderhit();
else
// Print final search statistics