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

Fix issue with reopening and deleting pdf file on Windows #463

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xiaoyao9184
Copy link

Due to the inability of the Windows platform to reopen files, the opened temporary file have been changed to a temporary directory.

After this, pdfium will open the files normally.

The DocumentBuilder will call PdfProvider only in the constructor method, and PdfProvider will clean up and close the file before using the processor and renderer.

Copy link
Contributor

github-actions bot commented Jan 5, 2025

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@xiaoyao9184
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

github-actions bot added a commit that referenced this pull request Jan 5, 2025
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

Successfully merging this pull request may close these issues.

1 participant