Skip to content

Commit

Permalink
better delay examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Jan 12, 2012
1 parent 551bf8b commit 08309ae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,6 +1,6 @@
This file documents the revision history for Perl extension Mojolicious.

2.44 2012-01-11 00:00:00
2.44 2012-01-12 00:00:00
- Improved syntax highlighting in perldoc browser slightly.
- Improved Mojo::Base tests.
- Improved documentation.
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop.pm
Expand Up @@ -649,8 +649,8 @@ method is EXPERIMENTAL and might change without warning!
});
}
# Wait for events
$delay->wait;
# Wait for events unless reactor is already running
$delay->wait unless Mojo::IOLoop->is_running;
=head2 C<drop>
Expand Down
4 changes: 2 additions & 2 deletions lib/Mojo/IOLoop/Delay.pm
Expand Up @@ -49,8 +49,8 @@ Mojo::IOLoop::Delay - Synchronize events
});
}
# Wait for events
$delay->wait;
# Wait for events unless reactor is already running
$delay->wait unless Mojo::IOLoop->is_running;
=head1 DESCRIPTION
Expand Down

0 comments on commit 08309ae

Please sign in to comment.