-
Notifications
You must be signed in to change notification settings - Fork 160
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
fix: locking on FeatureFlags instead of VaadinContext (#13962) #14741
Conversation
Is |
@Artur- indeed, so why to lock on VaadinContext in FeatureFlags if they call setAttributes which already locks on ServletContext? |
The locking in
There is no need to lock on anything external as only FeatureFlags is creating the wrapper. The simpler version which locks every time, and might be good enough in
|
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me but the fix does not correspond at all with the summary or description
Description
Only lock on FeatureFlags when checking for wrapper and initializing
Fixes #13962
Type of change
Checklist
Additional for
Feature
type of change