Skip to content

Commit

Permalink
that did not actually solve the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Feb 13, 2015
1 parent 1447311 commit ba87e5e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Changes
@@ -1,6 +1,5 @@

5.80 2015-02-14
- Fixed warnings in Mojo::Reactor::Poll.

5.79 2015-02-13
- Fixed bug in Mojo::Reactor::Poll that caused excessive idle CPU usage.
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Reactor/Poll.pm
Expand Up @@ -80,7 +80,7 @@ sub recurring { shift->_timer(1, @_) }
sub remove {
my ($self, $remove) = @_;
return !!delete $self->{timers}{$remove} unless ref $remove;
return !!delete $self->{io}{fileno($remove) // ''};
return !!delete $self->{io}{fileno $remove};
}

sub reset { delete @{shift()}{qw(io timers)} }
Expand Down

0 comments on commit ba87e5e

Please sign in to comment.