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

#178 UnloadObserver is now UI-scoped singleton #179

Merged
merged 1 commit into from
Jul 1, 2020

Conversation

vaadin-miki
Copy link
Owner

using ComponentUtil.getData/setData to keep the instance associated with a given UI

creating UnloadObserver does not add it anywhere, that still needs to be done manually

also updated demo app to reflect changes

closes #178

using ComponentUtil.getData/setData to keep the instance associated with a given UI

creating UnloadObserver does not add it anywhere, that still needs to be done manually

also updated demo app to reflect changes
@vaadin-miki vaadin-miki self-assigned this Jul 1, 2020
@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 1, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@vaadin-miki vaadin-miki merged commit cbcfca6 into development Jul 1, 2020
@vaadin-miki vaadin-miki deleted the 178-unload-observer-ui-scoped branch July 1, 2020 13:42
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.

UnloadObserver should belong to the UI that will be unloaded.
1 participant