fix deferred events not processed in non-first orthogonal region#663
Merged
kris-jusiak merged 1 commit intoMay 22, 2026
Merged
Conversation
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
Collaborator
|
Thanks @PavelGuzenfeld |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #611.
Both
process_eventandprocess_defer_eventsonly comparedcurrent_state_[0]to detect state changes. A transition in any region other than the first leftchanged = false, so deferred events were never replayed.Fix: snapshot and compare all
regionselements instead of just index 0.