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

Comparing AnyEvent/lib/AnyEvent/Impl/Glib.pm (file contents):
Revision 1.14 by root, Sat Apr 19 03:57:10 2008 UTC vs.
Revision 1.15 by root, Fri Apr 25 14:19:25 2008 UTC

75 my ($self) = @_; 75 my ($self) = @_;
76 76
77 remove Glib::Source delete $self->{source} if $self->{source}; 77 remove Glib::Source delete $self->{source} if $self->{source};
78 # need to undef $cb because we hold references to it 78 # need to undef $cb because we hold references to it
79 $self->{cb} = undef; 79 $self->{cb} = undef;
80 %$self = ();
81} 80}
82 81
83sub one_event { 82sub one_event {
84 $maincontext->iteration (1); 83 $maincontext->iteration (1);
85} 84}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines