natario1 / CameraView

📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size.
https://natario1.github.io/CameraView
Other
4.94k stars 932 forks source link

Camera2 memery leak #1255

Open Horrarndoo opened 11 months ago

Horrarndoo commented 11 months ago

When using the camera2 engine, leakCanary will report a memory leak when destroying the fragment or activity, although it can be released later, is there any good solution?