Skip Menu |

This queue is for tickets about the AnyEvent-XMPP CPAN distribution.

Report information
The Basics
Id: 80589
Status: resolved
Priority: 0/
Queue: AnyEvent-XMPP

People
Owner: Nobody in particular
Requestors: MATEU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.53
Fixed in: (no value)



Subject: warning when $self->{parser} is undef
Not a bug, but a warning that could perhaps be avoided: (in cleanup) Can't call method "release" on an undefined value at lib/perl5/AnyEvent/XMPP/Parser.pm line 250 during global destruction. at lib/perl5/AnyEvent/XMPP/Parser.pm line 250. AnyEvent::XMPP::Parser::DESTROY('AnyEvent::XMPP::Parser=HASH(0xae 71e30)') called at ... eval {...} called at ... The warning could be suppressed via something like: $self->{parser} and $self->{parser}->release;
On Fri Nov 02 17:15:15 2012, MATEU wrote: Show quoted text
> Not a bug, but a warning that could perhaps be avoided: > > (in cleanup) Can't call method "release" on an undefined value
at Show quoted text
> lib/perl5/AnyEvent/XMPP/Parser.pm line 250 during global destruction. > at lib/perl5/AnyEvent/XMPP/Parser.pm line 250. >
AnyEvent::XMPP::Parser::DESTROY('AnyEvent::XMPP::Parser=HASH(0xae Show quoted text
> 71e30)') called at ... > eval {...} called at ... > > The warning could be suppressed via something like: > > $self->{parser} and $self->{parser}->release;
Thanks for the hint, this was already fixed in git and will be in the next release: https://github.com/AnyEvent-XMPP/AnyEvent- XMPP/commit/c006e676e6c9f2875ba78fad2b3110faa4da23c4