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

second way to fix activity leak after configuration change #418

Merged
merged 1 commit into from
May 21, 2024

Conversation

shpasha
Copy link
Contributor

@shpasha shpasha commented May 18, 2024

In continuation to this PR

#415

I think this solution is better and i also checked it in our project
I don't actually see where onDispose in AndroidScreenLifecycleOwner would be called when configuration changes. And I think it's the client of AndroidScreenLifecycleOwner responsibility to decide when to dispose it

@DevSrSouza what to you think?

@shpasha shpasha changed the title second way to fix activity leak after configuration change, second way second way to fix activity leak after configuration change May 18, 2024
@DevSrSouza DevSrSouza merged commit 6abfb57 into adrielcafe:main May 21, 2024
1 check passed
@DevSrSouza
Copy link
Collaborator

DevSrSouza commented May 21, 2024

Thanks for the contribution

DevSrSouza added a commit that referenced this pull request May 21, 2024
DevSrSouza added a commit that referenced this pull request May 21, 2024
* Lifecycle KMP experimental support

* update api dump

* Renaming files

* fix namespace

* Fix changes

* apply fix from #418

* Fix lint
vickyleu pushed a commit to vickyleu/voyager that referenced this pull request May 28, 2024
vickyleu pushed a commit to vickyleu/voyager that referenced this pull request May 28, 2024
* Lifecycle KMP experimental support

* update api dump

* Renaming files

* fix namespace

* Fix changes

* apply fix from adrielcafe#418

* Fix lint

(cherry picked from commit 309e6c7)
vickyleu added a commit to vickyleu/voyager that referenced this pull request May 28, 2024
* Lifecycle KMP experimental support

* update api dump

* Renaming files

* fix namespace

* Fix changes

* apply fix from adrielcafe#418

* Fix lint

(cherry picked from commit 309e6c7)
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.

None yet

2 participants