From eb89933245481236db6269f42e8fa4d4b0bd036c Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Tue, 1 Feb 2011 19:16:47 -0700 Subject: [PATCH] Fixed a nasty CPU leak when Auto's running in debug get disconnected. --- bin/auto | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/auto b/bin/auto index f93f3f3..80da4c4 100755 --- a/bin/auto +++ b/bin/auto @@ -324,6 +324,7 @@ while (1) { # Got EOF, close socket err(2, "Lost connection to $sockid!", 0); $SELECT->remove($sock); + next; } # Remove the newlines. chomp $data;