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

Annotation of /rpms/perl-Mojolicious/sme10/Mojolicious-6.12.cleanup.patch2

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


Revision 1.1 - (hide annotations) (download)
Tue Feb 9 09:27:45 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: perl-Mojolicious-6_44-2_el7_sme, perl-Mojolicious-6_44-1_el7_sme, HEAD
Import Mojo 6.44 (from Charlie Brady) in sme10 branch

1 vip-ire 1.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