[libanyevent-rabbitmq-perl] 51/151: Another global destruction fix
Damyan Ivanov
dmn at moszumanska.debian.org
Thu Jan 16 11:03:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to annotated tag debian/1.12-1
in repository libanyevent-rabbitmq-perl.
commit 55637b7a2210ce83d692368f19019b53e366e75c
Author: Tomas Doran (t0m) <t0m at state51.co.uk>
Date: Fri Mar 26 15:36:56 2010 +0000
Another global destruction fix
---
lib/AnyEvent/RabbitMQ/Channel.pm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/AnyEvent/RabbitMQ/Channel.pm b/lib/AnyEvent/RabbitMQ/Channel.pm
index a37cbc7..ee8b5be 100644
--- a/lib/AnyEvent/RabbitMQ/Channel.pm
+++ b/lib/AnyEvent/RabbitMQ/Channel.pm
@@ -53,7 +53,9 @@ sub open {
sub close {
my $self = shift;
- my %args = $self->{connection}->_set_cbs(@_);
+ my $connection = $self->{connection}
+ or return;
+ my %args = $connection->_set_cbs(@_);
return $self if !$self->{_is_open};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libanyevent-rabbitmq-perl.git
More information about the Pkg-perl-cvs-commits
mailing list