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

Fix flow issue #6349 (#20255) (CP: 24.5) #20278

Merged
merged 1 commit into from
Oct 18, 2024

Commits on Oct 18, 2024

  1. fix: clear CurrentInstance before invoking new session tasks (#6349) (#…

    …20255)
    
    Commands enqueued by VaadinSession.access() in general have nothing to do with each other. The only thing they have in common is they share the same VaadinSession (and, by implication, VaadinService).
    
    Therefore, if command №1 invoked UI.setCurrent() and command №2 invokes UI.getCurrent(), command №2 should read null, not the random UI from command №1 that it has nothing to do with.
    
    Fixes #6349
    archiecobbs authored and vaadin-bot committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    e16870a View commit details
    Browse the repository at this point in the history