-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ensure that the event snapshot is available when one observer de…
…fers and the other does not (#1562) If an event has multiple observers, then if *any* of the (event+observer) pairs do not defer, then we need to save the snapshot so that it's available to process that (event+observer). #1372 introduced a bug where if *any* of the (event+observer) pairs was skipped because an exact match was already in the deferral queue, we would skip saving the snapshot. This is ok if there's only a single observer, or if an (event+observer) that did not defer was processed before any that did defer, but not otherwise. Fixes #1561
- Loading branch information
1 parent
d63208d
commit d0f9f50
Showing
2 changed files
with
85 additions
and
30 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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