Skip to content

Commit

Permalink
Fixed timer deletion bug in CoProcessFunctionTimers example (Chapter 6)
Browse files Browse the repository at this point in the history
  • Loading branch information
fhueske committed Jul 24, 2019
1 parent 609d13e commit b448e74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ReadingFilter
val curTimerTimestamp = disableTimer.value()
if (timerTimestamp > curTimerTimestamp) {
// remove current timer and register new timer
ctx.timerService().deleteEventTimeTimer(curTimerTimestamp)
ctx.timerService().deleteProcessingTimeTimer(curTimerTimestamp)
ctx.timerService().registerProcessingTimeTimer(timerTimestamp)
disableTimer.update(timerTimestamp)
}
Expand Down

0 comments on commit b448e74

Please sign in to comment.