Skip to content

Commit

Permalink
not all connections are active
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Dec 14, 2015
1 parent 1038834 commit fa2ff9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Mojo/UserAgent.pm
Expand Up @@ -70,8 +70,6 @@ sub websocket {

sub _cleanup {
my $self = shift;

# Clean up active connections (by closing them)
delete $self->{pid};
$self->_finish($_, 1) for keys %{$self->{connections} || {}};
return $self;
Expand Down

0 comments on commit fa2ff9b

Please sign in to comment.