I have built an AIR application which captures pictures from my camera and making it as photo viewer.
I have used a Panel with a VideoDisplay component and inside that Panel I tried to getting the Camera instance and able to capture the pictures from Camera. The problem is, When I close that Panel the camera/camera instance is not getting released even though I have set camera instance to null.
But When I close the AIR application, then the camera is getting released.
Is there any way to release the camera/close the camera object when close the Panel?