Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
small optimization
  • Loading branch information
kraih committed Dec 11, 2012
1 parent 2ef5b36 commit c031d93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,5 +1,5 @@

3.66 2012-12-10
3.66 2012-12-11
- Improved documentation.
- Improved tests.

Expand Down
2 changes: 1 addition & 1 deletion lib/Mojo/IOLoop.pm
Expand Up @@ -153,7 +153,7 @@ sub server {
return $self->acceptor($server);
}

sub singleton { state $loop ||= shift->SUPER::new }
sub singleton { state $loop = shift->SUPER::new }

sub start {
my $self = shift;
Expand Down

0 comments on commit c031d93

Please sign in to comment.