shutdown and execute a timertask results in double runs #672
Labels
enhancement
Adding features, adding tests, improving documentation.
looking-for-contributor
We are looking for a contributor to help with this issue.
medium-priority
Should be done soon.
Script as PoC:
Example output:
The tekst "In task: 2017-09-06 12:25:00 +0200" is not what I would expect here, this belongs to the first execution. The combination of shutdown and execute results in 1 extra execution of the first timer.
if you create a new TimerTask instead, the pending task is not executed.
concurrent-ruby
version: 1.0.5concurrent-ruby-ext
installed: yesconcurrent-ruby-edge
used: noThe text was updated successfully, but these errors were encountered: