[libanyevent-rabbitmq-perl] 79/151: Shutdown the AnyEvent handle using push_shutdown.

Damyan Ivanov dmn at moszumanska.debian.org
Thu Jan 16 11:03:05 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 59f6e7ee94f91b1885a6e110433fba2c66386ae6
Author: Johannes Plunien <johannes.plunien at xing.com>
Date:   Thu Mar 10 12:36:09 2011 +0100

    Shutdown the AnyEvent handle using push_shutdown.
---
 lib/AnyEvent/RabbitMQ.pm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/lib/AnyEvent/RabbitMQ.pm b/lib/AnyEvent/RabbitMQ.pm
index 5452fc4..8fa363a 100644
--- a/lib/AnyEvent/RabbitMQ.pm
+++ b/lib/AnyEvent/RabbitMQ.pm
@@ -330,10 +330,7 @@ sub _close {
 
 sub _disconnect {
     my $self = shift;
-
-    delete $self->{_handle};
-    delete $self->{_connect_guard};
-
+    $self->{_handle}->push_shutdown;
     return $self;
 }
 

-- 
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