-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
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.

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels