MCPcopy Create free account
hub / github.com/OpenKinect/libfreenect2 / ~Freenect2Impl

Method ~Freenect2Impl

src/libfreenect2.cpp:401–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

399 }
400
401 ~Freenect2Impl()
402 {
403 if (!initialized)
404 return;
405
406 clearDevices();
407 clearDeviceEnumeration();
408
409 usb_event_loop_.stop();
410
411 if(managed_usb_context_ && usb_context_ != 0)
412 {
413 libusb_exit(usb_context_);
414 usb_context_ = 0;
415 }
416 }
417
418 void addDevice(Freenect2DeviceImpl *device)
419 {

Callers

nothing calls this directly

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected