Closed rjloura closed 3 years ago
I see the docs talk about this here (https://anowell.github.io/wkhtmltopdf-rs/wkhtmltopdf/struct.PdfApplication.html). It would be nice if it were possible to create multiple PDFs per-process across multiple threads.
For context/reference about this limitation, see: Hangs with multiple threads #1
It seems multiple calls to
PdfApplication::new()
fail withIllegalInit
even when thepdf_app
value is dropped. See sample code below: