Commit fce1f275 authored by Thiago Santini's avatar Thiago Santini

Fixed uvc_close issues

parent aef0428d
......@@ -164,17 +164,9 @@ bool UVCCameraSession::unload()
if (streaming)
#ifdef _WIN32
// TODO: closing here seems to mess up the device
//if (devh)
// uvc_close(devh);
devh = NULL;
// For linux it seems to work as expected
if (devh)
devh = NULL;
return true;
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