Fix an issue where moves in the secondary engine search would linger around from...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Nov 2013 01:02:19 +0000 (02:02 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 18 Nov 2013 01:02:19 +0000 (02:02 +0100)
remoteglot.pl

index 39fa629..1d4f7d4 100755 (executable)
@@ -239,6 +239,7 @@ sub handle_uci {
                                $pos_waiting = undef;
                        }
                } else {
+                       $engine2->{'info'} = {};
                        my $pos = $pos_waiting // $pos_calculating;
                        uciprint($engine2, "position fen " . $pos->{'fen'});
                        uciprint($engine2, "go infinite");