mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Do not wait when AbortSearch is set
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>
This commit is contained in:
parent
55745f4105
commit
638f3d31cc
1 changed files with 1 additions and 1 deletions
|
@ -844,7 +844,7 @@ namespace {
|
|||
|
||||
// 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
|
||||
|
|
Loading…
Add table
Reference in a new issue