From 07fe77d2f39c91fee4545236ef1134f9000b749c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 2 Jul 2007 17:44:58 +0200 Subject: [PATCH 1/1] 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. --- remoteglot.pl | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.39.2