You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CameraActivity causes a memory leak when using CameraX with Jetpack Compose. LeakCanary reports that the ProcessCameraProvider retains a reference to the destroyed CameraActivity through the LifecycleCameraProviderImpl and its internal lifecycleCameraKeys map. Even after calling unbindAll() in onDestroy(), the activity is not properly garbage collected, leading to a memory leak.