Skip to content

Dispose TimedRunnable upon TimedWorker shutdown#3856

Merged
chemicL merged 1 commit into3.5.xfrom
fix-3844-timed-scheduler-pending-accounting
Jul 25, 2024
Merged

Dispose TimedRunnable upon TimedWorker shutdown#3856
chemicL merged 1 commit into3.5.xfrom
fix-3844-timed-scheduler-pending-accounting

Conversation

@chemicL
Copy link
Copy Markdown
Member

@chemicL chemicL commented Jul 24, 2024

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.

Resolves #3844

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.

Resolves #3844
@chemicL chemicL added this to the 3.5.20 milestone Jul 24, 2024
@chemicL chemicL self-assigned this Jul 24, 2024
@chemicL chemicL added the type/bug A general bug label Jul 24, 2024
@chemicL chemicL marked this pull request as ready for review July 25, 2024 07:33
@chemicL chemicL requested a review from a team as a code owner July 25, 2024 07:33
@chemicL chemicL merged commit d85b909 into 3.5.x Jul 25, 2024
@chemicL chemicL deleted the fix-3844-timed-scheduler-pending-accounting branch July 25, 2024 07:33
chemicL added a commit that referenced this pull request Jul 25, 2024
chemicL added a commit that referenced this pull request Jul 25, 2024
@chemicL
Copy link
Copy Markdown
Member Author

chemicL commented Jul 25, 2024

@violetagg thank you for the review :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants