fixed #2155
This commit is contained in:
parent
e68b26e71f
commit
bc3fb347a3
@ -116,9 +116,12 @@ error:
|
|||||||
|
|
||||||
void CvCaptureCAM_XIMEA::close()
|
void CvCaptureCAM_XIMEA::close()
|
||||||
{
|
{
|
||||||
xiStopAcquisition(hmv);
|
if(hmv)
|
||||||
xiCloseDevice(hmv);
|
{
|
||||||
hmv = NULL;
|
xiStopAcquisition(hmv);
|
||||||
|
xiCloseDevice(hmv);
|
||||||
|
hmv = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************************************************/
|
/**********************************************************************************/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user