Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QThreadStorage Destroyed Message #53

Open
mjnorberg opened this issue Jul 29, 2022 · 0 comments
Open

QThreadStorage Destroyed Message #53

mjnorberg opened this issue Jul 29, 2022 · 0 comments

Comments

@mjnorberg
Copy link

Hello, I am happy with using this library and the PDF generation has been very good, however, I always get this message:

QThreadStorage: Thread 0x7fbdb0cf0e10 exited after QThreadStorage 8 destroyed

My code implementation is fairly simple:

String html = <load HTML here>;
final boolean success = HtmlToPdf.create()
                                 .object(HtmlToPdfObject.forHtml(html))
                                 .convert({ path })

Through a little testing, it seems that this message is displayed after the main method finishes. What I am wondering is, has anyone gotten this behavior before, and is it dangerous if this happens when running a system that uses multiple threads (i.e. if I convert html on one thread, will that conversion and subsequent QThread Storage destruction impact the other threads in the system)?

Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant