No need to destroy the handle on _force_disconnect, _disconnected does it
Signed-off-by: Pedro Melo <melo@simplicidade.org>
This commit is contained in:
@@ -224,7 +224,6 @@ sub _force_disconnect {
|
||||
$hdl->on_error(
|
||||
sub {
|
||||
delete $hdl->{rbuf};
|
||||
$hdl->destroy;
|
||||
$self->_disconnected;
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user