camera_camera icon indicating copy to clipboard operation
camera_camera copied to clipboard

Dispose?

Open PeterLjunggren opened this issue 4 years ago • 0 comments

Hi!

Maybe not a issue, more lack of knowledge :) I am new to flutter and following the samplecode. When I have used the camera and reload I get "FlutterError (A CameraController was used after being disposed. Once you have called dispose() on a CameraController, it can no longer be used.)"

It also happens when I turn the camera from landscape to portrait.

I have missed Dispose, I guess.. Can you add a dispose-section in the sample-code or just give me the lines? It will help me a lot!

PeterLjunggren avatar Sep 16 '21 16:09 PeterLjunggren