ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/lib/AnyEvent.pm
(Generate patch)

Comparing AnyEvent/lib/AnyEvent.pm (file contents):
Revision 1.160 by root, Sun Jun 22 12:17:47 2008 UTC vs.
Revision 1.161 by root, Wed Jul 2 12:27:42 2008 UTC

816no warnings; 816no warnings;
817use strict; 817use strict;
818 818
819use Carp; 819use Carp;
820 820
821our $VERSION = 4.152; 821our $VERSION = '4.160'; # temporary workaround for broken fedora
822our $MODEL; 822our $MODEL;
823 823
824our $AUTOLOAD; 824our $AUTOLOAD;
825our @ISA; 825our @ISA;
826 826
988sub AnyEvent::Base::Signal::DESTROY { 988sub AnyEvent::Base::Signal::DESTROY {
989 my ($signal, $cb) = @{$_[0]}; 989 my ($signal, $cb) = @{$_[0]};
990 990
991 delete $SIG_CB{$signal}{$cb}; 991 delete $SIG_CB{$signal}{$cb};
992 992
993 $SIG{$signal} = 'DEFAULT' unless keys %{ $SIG_CB{$signal} }; 993 delete $SIG{$signal} unless keys %{ $SIG_CB{$signal} };
994} 994}
995 995
996# default implementation for ->child 996# default implementation for ->child
997 997
998our %PID_CB; 998our %PID_CB;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines