Skip to content

Commit

Permalink
which timer failed is not important
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Mar 21, 2015
1 parent f5e772e commit 9e4dfb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Mojo/Reactor/EV.pm
Expand Up @@ -62,7 +62,7 @@ sub _timer {
my $id = $self->_id;
my $wrapper = sub {
delete $self->{timers}{$id} unless $recurring;
$self->_sandbox("Timer $id", $cb);
$self->_sandbox('Timer', $cb);
};
EV::now_update() if $after > 0;
$self->{timers}{$id}{watcher} = EV::timer($after, $after, $wrapper);
Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/Reactor/Poll.pm
Expand Up @@ -71,7 +71,7 @@ sub one_tick {
# Normal timer
else { $self->remove($id) }

++$i and $self->_sandbox("Timer $id", $t->{cb}) if $t->{cb};
++$i and $self->_sandbox('Timer', $t->{cb}) if $t->{cb};
}
}
}
Expand Down

0 comments on commit 9e4dfb7

Please sign in to comment.