Ofxopenni crash while reseting the usergenerator

I am using the ofxopenni addon with a kinect for xbox. Everything works fine but sometimes it crashed when i reset the usergenerator. It is something with the thread, as i know by now. This is how the error looks. Any hint how to deal with this? Thanks in advance

Hi, use ofxNI2
It is so much better and stable than ofxOpenNI. it will save you a lot of headaches.
The only problem is that ofxNI2 is no hotswappable with ofxOpenNI, so you will neeed to modify your code in order to use it.