Android 5.1.1 on a Nexus 4 crashes on exit
Lately, without doing anything special I am having crashes on Android when exiting my app.
It is a Nexus 4 running Android 5.1.1
When hitting the back key to leave the app I get the following warning in Qt:
Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[14,tid=21176,Native,Thread*=0xb8a8e1c8,peer=0x32d5e0a0,"QtThread"]
I thought this was fixed with: https://codereview.qt-project.org/#/c/105855/
I tried to catch it with the debugger but it is not catchable, then I get a "My App" stopped warning on the phone.
If anyone has an idea on how I could get a debugger to stop where I get this that would be great :)