Skip to content

Commit

Permalink
_die is not used anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Oct 25, 2017
1 parent 5998731 commit 93eff35
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/Mojo/IOLoop/Delay.pm
Expand Up @@ -117,8 +117,6 @@ sub _defer {
$self->ioloop->next_tick(sub { $_->(@$results) for @$cbs });
}

sub _die { $_[0]->has_subscribers('error') ? $_[0]->ioloop->stop : die $_[1] }

sub _settle {
my ($self, $status) = (shift, shift);
return $self if $self->{result};
Expand Down

0 comments on commit 93eff35

Please sign in to comment.