Some test text!

menu
Why am I getting a DetachCurrentThread warning?keyboard_arrow_down

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 PDFTron 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: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.

Join our live demo to learn about use cases & capabilities for WebViewer

Learn more
close