Fix: on disconnect, make sure we cleanup the correct attributes
Signed-off-by: Pedro Melo <melo@simplicidade.org>
This commit is contained in:
@@ -211,7 +211,7 @@ sub _disconnected {
|
||||
my ($self) = @_;
|
||||
|
||||
$self->{handle}->destroy;
|
||||
delete $self->{$_} for qw(conn connected);
|
||||
delete $self->{$_} for qw(handle connected);
|
||||
}
|
||||
|
||||
sub _force_disconnect {
|
||||
|
||||
Reference in New Issue
Block a user