Pedro Francisco de Sousa Neto
02/24/2023, 2:23 PMscope.close() from registerScopeForLifecycle is running BEFORE activity onDestroy.
So if developer is calling something injected in onDestroy, gets a crash.
Any suggestions to handle this case? Because this start happen in our app when we bump version from 3.1.6 to 3.3.1.Pedro Alberto
02/25/2023, 5:51 PMcreateActivityScopePedro Alberto
02/25/2023, 5:59 PMSo if developer is calling something injected in onDestroy, gets a crash.
Can you give a sample ?Pedro Francisco de Sousa Neto
02/27/2023, 6:44 PMScopeActivity. And yes, it’ll use
fun ComponentActivity.activityScope() = lazy { createActivityScope() }Landry Norris
03/01/2023, 5:30 PMPedro Francisco de Sousa Neto
03/01/2023, 5:46 PM3.1.6 to 3.3.1.
It impacted a lot of activities to crash.arnaud.giuliani
03/02/2023, 8:57 AMarnaud.giuliani
03/02/2023, 8:57 AMPedro Francisco de Sousa Neto
03/02/2023, 5:19 PM