Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@JohnRoesler
Copy link
Contributor

What does this do?

cancel the job context, and new job context in the event that job creation errors or we get caught in scheduler shutdown

Which issue(s) does this PR fix/relate to?

resolves #857

List any changes that modify/break current functionality

Have you included tests for your changes?

Did you document any new/modified functionality?

  • Updated example_test.go
  • Updated README.md

Notes

@JohnRoesler JohnRoesler merged commit fcfcb87 into v2 Jul 21, 2025
3 checks passed
@JohnRoesler JohnRoesler deleted the cancel-contexts branch July 21, 2025 17:28
@VoxT
Copy link

VoxT commented Jul 29, 2025

Could you please release a fixed version for this? @JohnRoesler

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] - Leaked context: context.WithCancel not cleaned up on job setup failure

3 participants