Some test text!

Search
Hamburger Icon

Android / FAQ / Why am I getting a DetachCurrentThread warning?

DetachCurrentThread warnings

Question:

We are receiving a warning report whenever we load a pdf in our app: Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?) Thread[69,tid=19749,Native,Thread*=0x8d0a0800,peer=0x13451100,"Thread-2434"] This gets called several times though I am unsure as to the origin of the problem. Is this an error that has been reported before?

Please rest assured that this is not an error. Internally Apryse SDK uses pthread to create and cleanup threads. As this warning suggested, the thread will be cleaned up properly through the destructor.

Get the answers you need: Chat with us