Skip to content

Commit

Permalink
improved accept performance a little more
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 24, 2011
1 parent 0a59916 commit 4560e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop.pm
Expand Up @@ -401,8 +401,8 @@ sub _not_listening {
my $self = shift;

# Check if we are listening
return unless delete $self->{listening};
return unless my $cb = $self->on_unlock;
return unless delete $self->{listening};
$self->$cb();

# Stop listening
Expand Down

0 comments on commit 4560e5a

Please sign in to comment.