hjam40 / Camera.MAUI

A CameraView Control for preview, take photos and control the camera options
MIT License
458 stars 75 forks source link

Memory leaking #174

Open douglassimaodev opened 2 months ago

douglassimaodev commented 2 months ago

I am just referring the camera in my page

<cv:CameraView x:Name="bcReader" HorizontalOptions="Start" HeightRequest="350" />

that is alll, no extra element and no event binding to it, so when I navigate from page A to page B (where the CamareView is) when I go back to page A CameraView is still alive, and I didnt even start the camera, as I said, there is just an element in the page but nothing in the code behind to keel it alive

DanKyungu commented 2 months ago

Did you tried to Disconnect the CameraView Handler on the page Unloaded event?