gameoverhack / ofxOpenNI

Wrapper for OpenNI, NITE and SensorKinect
gingold.com.au
Other
246 stars 121 forks source link

hardware usb connection isn't properly closed #20

Open wouterverweirder opened 11 years ago

wouterverweirder commented 11 years ago

I noticed an issue with the hardware shutdown code. The claimed usb device isn't properly released, which causes issues when you create a new instance of the hardware layer without shutting down. Fix would be:

this closes & releases the dev handle properly