Skip to content

Conversation

@arnaudgiuliani
Copy link
Member

Fix premature release of scope & context. Don't drop in onForgotten, as UI is simply hidden but not destroyed.

Fix #2319

@arnaudgiuliani arnaudgiuliani added this to the 4.2.0 milestone Dec 5, 2025
@arnaudgiuliani arnaudgiuliani merged commit 5379cfb into 4.2.0 Dec 5, 2025
4 checks passed
@arnaudgiuliani arnaudgiuliani deleted the fix_compose_context_onForgotten branch December 5, 2025 13:20
@arnaudgiuliani arnaudgiuliani changed the title Fix premature release of scope & context. Don't drop in onForgotten, … Fix premature release of scope & context Dec 5, 2025
arnaudgiuliani added a commit that referenced this pull request Dec 5, 2025
* Create CompositionKoinApplicationLoader but check for current context to pass it again, avoid restarting new context over

* Follow up #2326 to avoid Koin context recreation

* new unified KoinApplication entry point + deprecation for others function

* Update projects/compose/koin-compose/src/commonMain/kotlin/org/koin/compose/KoinApplication.kt

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Copilot <[email protected]>
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