Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't fire undefined FollowTail idle events.

  • Loading branch information...
commit 9e042d00f54896e735f425b90195ec00243d5552 1 parent 31396d7
Rocco Caputo authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/POE/Wheel/FollowTail.pm
4 lib/POE/Wheel/FollowTail.pm
View
@@ -444,7 +444,7 @@ sub _generate_filehandle_timer {
sysseek($$handle, 0, SEEK_SET);
}
- else {
+ elsif (defined $$event_idle) {
$k->call($ses, $$event_idle, $unique_id);
}
@@ -593,7 +593,7 @@ sub _generate_filename_timer {
$k->delay($$state_read, 0) if defined $$state_read;
return;
}
- else {
+ elsif (defined $$event_idle) {
$k->call($ses, $$event_idle, $unique_id);
}
Please sign in to comment.
Something went wrong with that request. Please try again.