Skip to content

Avoid throwing error if interaction does not exist#602

Merged
philipwalton merged 6 commits intov5from
avoid-processing-null-interaction
Mar 26, 2025
Merged

Avoid throwing error if interaction does not exist#602
philipwalton merged 6 commits intov5from
avoid-processing-null-interaction

Conversation

@tunetheweb
Copy link
Copy Markdown
Member

@tunetheweb tunetheweb commented Mar 24, 2025

Fixes a bug introduced in #585.

After 10 interactions, it's possible, the next one interaction has an interactionId but is not longer than the smallest one.

In this case we should not run _onAfterProcessingInteraction (and specifically saveInteractionTarget which assumes an interaction will be passed).

Also includes a rename of _onAfterProcessingInteraction to the more accurate _onAfterProcessingINPCandidate

Comment thread src/lib/InteractionManager.ts Outdated
@philipwalton philipwalton merged commit aa4ff21 into v5 Mar 26, 2025
6 checks passed
@philipwalton philipwalton deleted the avoid-processing-null-interaction branch March 26, 2025 04:34
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.

2 participants