mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
fixed #2155
This commit is contained in:
parent
e68b26e71f
commit
bc3fb347a3
@ -116,9 +116,12 @@ error:
|
||||
|
||||
void CvCaptureCAM_XIMEA::close()
|
||||
{
|
||||
xiStopAcquisition(hmv);
|
||||
xiCloseDevice(hmv);
|
||||
hmv = NULL;
|
||||
if(hmv)
|
||||
{
|
||||
xiStopAcquisition(hmv);
|
||||
xiCloseDevice(hmv);
|
||||
hmv = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
/**********************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user