Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make lastrun non-dependant on the callback runtime. Fixes GH-1, bbkr++

  • Loading branch information...
commit 117847638c23c9bd22ae066253d5164bc64f0d18 1 parent 0d20c72
@tadzik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/MuEvent.pm
View
2  lib/MuEvent.pm
@@ -44,9 +44,9 @@ sub run-timers {
if clock() > $since + $e<after> {
if defined $e<interval> {
if clock() > $e<lastrun> + $e<interval> {
+ $e<lastrun> = clock();
$e<cb>.(|$e<params>);
$seen-action = True;
- $e<lastrun> = clock();
}
} else {
$e<cb>.(|$e<params>);
Please sign in to comment.
Something went wrong with that request. Please try again.