Skip to content

Commit

Permalink
executeElapsed gets stuck returning TRUE even when nothing was executed
Browse files Browse the repository at this point in the history
Fixes #1278
  • Loading branch information
jcheng5 committed Aug 10, 2016
1 parent d1e4483 commit 679821b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/timer.R
Expand Up @@ -56,7 +56,7 @@ TimerCallbacks <- R6Class(
},
executeElapsed = function() {
elapsed <- takeElapsed()
if (length(elapsed) == 0)
if (nrow(elapsed) == 0)
return(FALSE)

for (id in elapsed$id) {
Expand Down

0 comments on commit 679821b

Please sign in to comment.