Skip to content

fix deferred events not processed in non-first orthogonal region#663

Merged
kris-jusiak merged 1 commit into
boost-ext:masterfrom
PavelGuzenfeld:fix/defer-non-first-orthogonal-region
May 22, 2026
Merged

fix deferred events not processed in non-first orthogonal region#663
kris-jusiak merged 1 commit into
boost-ext:masterfrom
PavelGuzenfeld:fix/defer-non-first-orthogonal-region

Conversation

@PavelGuzenfeld
Copy link
Copy Markdown
Contributor

Fixes #611.

Both process_event and process_defer_events only compared current_state_[0] to detect state changes. A transition in any region other than the first left changed = false, so deferred events were never replayed.

Fix: snapshot and compare all regions elements instead of just index 0.

Both process_event and process_defer_events tracked state changes by
comparing only current_state_[0] (first region). A transition in any
other region left changed=false, preventing deferred events from being
replayed.

Fix: compare all regions when detecting state change.

Closes boost-ext#611
@kris-jusiak kris-jusiak merged commit 06c72d8 into boost-ext:master May 22, 2026
5 checks passed
@kris-jusiak
Copy link
Copy Markdown
Collaborator

Thanks @PavelGuzenfeld

@PavelGuzenfeld PavelGuzenfeld deleted the fix/defer-non-first-orthogonal-region branch May 27, 2026 13:57
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.

deferred event not processed when in any orthogonal region other than first

2 participants