The TimedRunnable that is created using a TimedWorker was not disposed upon Worker shutdown. That led the pending tasks timers to run forever, causing leaks.
This change keeps track of created TimedRunnable instances by the TimedWorker, allowing to dispose the resources responsibly.
The
TimedRunnable
that is created using aTimedWorker
was not disposed uponWorker
shutdown. That led the pending tasks timers to run forever, causing leaks.This change keeps track of created
TimedRunnable
instances by theTimedWorker
, allowing to dispose the resources responsibly.Resolves #3844