You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 11, 2025. It is now read-only.
Change the way to share and clean up temp directory.
The WITH clause is contagious. Temp directory cannot be shared across an instance of PDFHandler unless the signature of init is changed. It turns the upper layer's duty to clean up the directory. To hide the implementation details, use finalizers to clean up.
Add _get_temp_path to make sure to access tmp pdf file in the same way.
Hide implementation details. We can reuse the temp pdf after calling parse() now.