Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lwc-events: fix race condition for samples #1737

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

brharrington
Copy link
Contributor

In certain cases update and flush could happen such that the sample would be missing. Add a lock to avoid the race condition. May need some further optimization in the future to reduce contention, but for initial tests it is sufficient for now.

In certain cases update and flush could happen such that
the sample would be missing. Add a lock to avoid the race
condition. May need some further optimization in the
future to reduce contention, but for initial tests it is
sufficient for now.
@brharrington brharrington added this to the 1.8.0 milestone Dec 10, 2024
@brharrington brharrington merged commit 720061e into Netflix:main Dec 10, 2024
5 checks passed
@brharrington brharrington deleted the race branch December 10, 2024 19:38
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.

1 participant