提交 bc3fb347 编写于 作者: M Maria Dimashova

fixed #2155

上级 e68b26e7
......@@ -116,9 +116,12 @@ error:
void CvCaptureCAM_XIMEA::close()
{
xiStopAcquisition(hmv);
xiCloseDevice(hmv);
hmv = NULL;
if(hmv)
{
xiStopAcquisition(hmv);
xiCloseDevice(hmv);
hmv = NULL;
}
}
/**********************************************************************************/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册