1 |
vip-ire |
1.1 |
Only in work.orig/: Mojolicious-6.12 |
2 |
|
|
diff -ru work.orig/Mojolicious-6.15/lib/Mojo/IOLoop.pm work/Mojolicious-6.15/lib/Mojo/IOLoop.pm |
3 |
|
|
--- work.orig/Mojolicious-6.15/lib/Mojo/IOLoop.pm 2015-08-18 16:15:57.000000000 -0400 |
4 |
|
|
+++ work/Mojolicious-6.15/lib/Mojo/IOLoop.pm 2015-08-18 16:53:48.000000000 -0400 |
5 |
|
|
@@ -168,14 +168,14 @@ |
6 |
|
|
sub _maybe_accepting { |
7 |
|
|
my $self = shift; |
8 |
|
|
return if $self->{accepting} || $self->_limit; |
9 |
|
|
- $_->start for values %{$self->{acceptors} || {}}; |
10 |
|
|
+ do { $_->start if $_ } for values %{$self->{acceptors} || {}}; |
11 |
|
|
$self->{accepting} = 1; |
12 |
|
|
} |
13 |
|
|
|
14 |
|
|
sub _not_accepting { |
15 |
|
|
my $self = shift; |
16 |
|
|
return $self unless delete $self->{accepting}; |
17 |
|
|
- $_->stop for values %{$self->{acceptors} || {}}; |
18 |
|
|
+ do { $_->stop if $_ } for values %{$self->{acceptors} || {}}; |
19 |
|
|
return $self; |
20 |
|
|
} |
21 |
|
|
|