Skip to content

fix: avoid exceptions during shutdown by guarding the iteration scheduling#5869

Open
ndr-brt wants to merge 1 commit into
mainfrom
5868-avoid-exceptions-during-shutdown
Open

fix: avoid exceptions during shutdown by guarding the iteration scheduling#5869
ndr-brt wants to merge 1 commit into
mainfrom
5868-avoid-exceptions-during-shutdown

Conversation

@ndr-brt

@ndr-brt ndr-brt commented Jul 3, 2026

Copy link
Copy Markdown
Member

What this PR changes/adds

Check state machine active state before scheduling the next iteration instead of at the start of the iteration

Why it does that

Avoid RejectedExecutionExceptions

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes #5868

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@ndr-brt ndr-brt requested a review from a team as a code owner July 3, 2026 08:41
@ndr-brt ndr-brt added the bug Something isn't working label Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exceptions during shutdown

2 participants