From: Steinar H. Gunderson Date: Mon, 2 Jul 2007 15:44:58 +0000 (+0200) Subject: Be more aggressive about clearing out the UCI info. This fixes an issue X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=07fe77d2f39c91fee4545236ef1134f9000b749c Be more aggressive about clearing out the UCI info. This fixes an issue in multi-PV analysis where suddenly fewer than the maximum lines are reported, and remoteglot just freezes because the other PVs are invalid. --- diff --git a/remoteglot.pl b/remoteglot.pl index 1561ac3..2c4bb9e 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -107,6 +107,7 @@ while (1) { uciprint("position fen $fen"); uciprint("go infinite"); + %uciinfo = (); $last_move = time; # @@ -478,6 +479,7 @@ sub output_screen { } }; if ($@) { + %uciinfo = (); return; }