-
Notifications
You must be signed in to change notification settings - Fork 419
Open
Labels
bugA bug in the library or documentation.A bug in the library or documentation.looking-for-contributorWe are looking for a contributor to help with this issue.We are looking for a contributor to help with this issue.medium-priorityShould be done soon.Should be done soon.
Description
- Operating system: linux
concurrent-ruby
version: 1.0.5concurrent-ruby-ext
installed: yesconcurrent-ruby-edge
used: no
If each time i shutdown and execute the timertask as example shown, there will be one more thread running the duplicated task.
example:
task = Concurrent::TimerTask.new(execution_interval: 3, timeout_interval: 1) { p Time.now; p rand(100)}
task.execute
sleep(3)
3.times do
task.shutdown
task.execute
end
sleep(10)
Metadata
Metadata
Assignees
Labels
bugA bug in the library or documentation.A bug in the library or documentation.looking-for-contributorWe are looking for a contributor to help with this issue.We are looking for a contributor to help with this issue.medium-priorityShould be done soon.Should be done soon.