X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FConnection.pm;h=7d640719d3b278907d99cf779631caa0a27cd0d3;hp=66d4c2ebf356af67b7f7eb1667313d4b9f94e414;hb=e1a0b9ca22fab8555fb597473b6f3a4074d7b48b;hpb=82ef4e4bbc6e05ab1f8fe2a71374907f16fb947a diff --git a/lib/Object/Remote/Connection.pm b/lib/Object/Remote/Connection.pm index 66d4c2e..7d64071 100644 --- a/lib/Object/Remote/Connection.pm +++ b/lib/Object/Remote/Connection.pm @@ -18,10 +18,7 @@ use JSON::PP qw(encode_json); use Moo; use Carp qw(croak); -BEGIN { - router()->exclude_forwarding; - $SIG{PIPE} = sub { log_debug { "Got a PIPE signal" } }; -} +BEGIN { router()->exclude_forwarding } END { log_debug { "Killing all child processes in the process group" };