/[smeserver]/rpms/perl-Mojolicious/sme9/Mojolicious-6.12.cleanup.patch2
ViewVC logotype

Contents of /rpms/perl-Mojolicious/sme9/Mojolicious-6.12.cleanup.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Feb 9 14:33:14 2016 UTC (8 years, 3 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mojolicious-6_44-3_el6_sme, perl-Mojolicious-6_44-2_el6_sme, perl-Mojolicious-6_44-1_el6_sme, HEAD
Import latest SRPM from Charlie Brady (Mojo 6.44)

1 diff -ru work.orig/Mojolicious-6.12/lib/Mojo/Server/Daemon.pm work/Mojolicious-6.12/lib/Mojo/Server/Daemon.pm
2 --- work.orig/Mojolicious-6.12/lib/Mojo/Server/Daemon.pm 2015-07-07 15:03:05.000000000 -0400
3 +++ work/Mojolicious-6.12/lib/Mojo/Server/Daemon.pm 2015-07-08 17:00:16.000000000 -0400
4 @@ -20,7 +20,7 @@
5 return if Mojo::Util::_global_destruction();
6 my $self = shift;
7 $self->_remove($_) for keys %{$self->{connections} || {}};
8 - my $loop = $self->ioloop;
9 + my $loop = $self->ioloop or return;
10 $loop->remove($_) for @{$self->acceptors};
11 }
12
13 @@ -209,7 +209,7 @@
14
15 sub _remove {
16 my ($self, $id) = @_;
17 - $self->ioloop->remove($id);
18 + $self->ioloop->remove($id) if $self->ioloop;
19 $self->_close($id);
20 }
21

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed