Fixed a nasty CPU leak when Auto's running in debug get disconnected.
This commit is contained in:
1 parent
e2494dad62
commit
eb89933245
1 file changed
+1
@@ -324,6 +324,7 @@ while (1) {
|
|||||||
# Got EOF, close socket
|
# Got EOF, close socket
|
||||||
err(2, "Lost connection to $sockid!", 0);
|
err(2, "Lost connection to $sockid!", 0);
|
||||||
$SELECT->remove($sock);
|
$SELECT->remove($sock);
|
||||||
|
next;
|
||||||
}
|
}
|
||||||
# Remove the newlines.
|
# Remove the newlines.
|
||||||
chomp $data;
|
chomp $data;
|
||||||
|
|||||||
Reference in new issue
Block a user