Some test text!

Loading...
Guides
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 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

Upcoming Webinar: Customer Experience and Retaining Control: Boosting Document Automation and Efficiency in Financial Services | Sept 15, 2022 at 11 am PT

PDFTron SDK

The Platform

NEW

© 2022 PDFTron Systems Inc. All rights reserved.

Privacy

Terms of Use