X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FMiniLoop.pm;h=8465c967e7f744ccce779ee8027510515f22bc71;hp=cf572d69d62eaa9c29d93f7274c4ddc0ffb0f9bf;hb=e1a0b9ca22fab8555fb597473b6f3a4074d7b48b;hpb=82ef4e4bbc6e05ab1f8fe2a71374907f16fb947a diff --git a/lib/Object/Remote/MiniLoop.pm b/lib/Object/Remote/MiniLoop.pm index cf572d6..8465c96 100644 --- a/lib/Object/Remote/MiniLoop.pm +++ b/lib/Object/Remote/MiniLoop.pm @@ -5,7 +5,11 @@ use Time::HiRes qw(time); use Object::Remote::Logging qw( :log :dlog router ); use Moo; -BEGIN { router()->exclude_forwarding } +BEGIN { + $SIG{PIPE} = sub { log_debug { "Got a PIPE signal" } }; + + router()->exclude_forwarding +} # this is ro because we only actually set it using local in sub run has is_running => (is => 'ro', clearer => 'stop');