Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenKinect/libfreenect2
/ close
Method
close
src/openni2/DeviceDriver.cpp:219–226 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
217
}
218
}
219
void close() {
220
WriteMessage(
"Freenect2Driver::Device: close()"
);
221
if (this->dev && device_used) {
222
stop();
223
dev->close();
224
}
225
this->dev = NULL;
226
}
227
228
// for DeviceBase
229
Callers
1
deviceClose
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected