Commit 3d108958 authored by Alexander Reshetnikov's avatar Alexander Reshetnikov

Added resources release for AVT cameras (ticket #1814)

parent 624880fd
......@@ -126,7 +126,8 @@ void CvCaptureCAM_PvAPI::close()
// Stop the acquisition & free the camera
PvCommandRun(Camera.Handle, "AcquisitionStop");
PvCaptureEnd(Camera.Handle);
PvCameraClose(Camera.Handle);
PvCameraClose(Camera.Handle);
PvUnInitialize();
}
// Initialize camera input
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment