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

Issue #52 fix #58

Merged
merged 1 commit into from
Feb 21, 2022
Merged

Issue #52 fix #58

merged 1 commit into from
Feb 21, 2022

Conversation

xero-brendan-reetz
Copy link
Collaborator

Addresses issue #52 by explicitly clearing each ComposableDestination's viewModelStore.

  • Clear composable destinations viewModelStores on EnroDestinationStorage clearing
  • Update active navigation context now checks lifecycleOwner's lifecycle instead of going through the NavigationHandle, to avoid crash after closing host activity
  • Added tests to cover both of these cases

- Clear composable destinations viewModelStores on EnroDestinationStorage clearing
- Update active navigation context now checks lifecycleOwner's lifecycle instead of going through the NavigationHandle, to avoid crash after closing host activity
- Added tests to cover both of these cases
@isaac-udy-xero isaac-udy-xero merged commit 3065249 into main Feb 21, 2022
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.

2 participants