Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dispose TimedRunnable upon TimedWorker shutdown #3856

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

chemicL
Copy link
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
6 checks passed
@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
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