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

Added resources release for AVT cameras (ticket #1814)

parent 624880fd
...@@ -127,6 +127,7 @@ void CvCaptureCAM_PvAPI::close() ...@@ -127,6 +127,7 @@ void CvCaptureCAM_PvAPI::close()
PvCommandRun(Camera.Handle, "AcquisitionStop"); PvCommandRun(Camera.Handle, "AcquisitionStop");
PvCaptureEnd(Camera.Handle); PvCaptureEnd(Camera.Handle);
PvCameraClose(Camera.Handle); PvCameraClose(Camera.Handle);
PvUnInitialize();
} }
// Initialize camera input // 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