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.208 by root, Sun Apr 26 18:12:53 2009 UTC vs.
Revision 1.209 by root, Wed May 13 13:36:49 2009 UTC

930no warnings; 930no warnings;
931use strict qw(vars subs); 931use strict qw(vars subs);
932 932
933use Carp; 933use Carp;
934 934
935our $VERSION = 4.4; 935our $VERSION = 4.41;
936our $MODEL; 936our $MODEL;
937 937
938our $AUTOLOAD; 938our $AUTOLOAD;
939our @ISA; 939our @ISA;
940 940
1171sub AnyEvent::Base::signal::DESTROY { 1171sub AnyEvent::Base::signal::DESTROY {
1172 my ($signal, $cb) = @{$_[0]}; 1172 my ($signal, $cb) = @{$_[0]};
1173 1173
1174 delete $SIG_CB{$signal}{$cb}; 1174 delete $SIG_CB{$signal}{$cb};
1175 1175
1176 delete $SIG{$signal} unless keys %{ $SIG_CB{$signal} }; 1176 $SIG{$signal} = 'DEFAULT' unless keys %{ $SIG_CB{$signal} };
1177} 1177}
1178 1178
1179# default implementation for ->child 1179# default implementation for ->child
1180 1180
1181our %PID_CB; 1181our %PID_CB;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines