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

Don't invoke cleanupTextLayer when there are pending textLayers #18109

Merged

Commits on May 17, 2024

  1. Don't invoke cleanupTextLayer when there are pending textLayers

    *Please note:* This doesn't really affect the viewer, but may affect the library API if multiple PDF documents are opened in parallel.
    
    Since we clean-up "global" textLayer-data when destroying a PDF document, this means that other active PDFs could potentially break by invoking `cleanupTextLayer` unconditionally. Note that textLayer rendering is an asynchronous task, and we thus need to ensure those are all finished before running clean-up.
    Snuffleupagus committed May 17, 2024
    Configuration menu
    Copy the full SHA
    d8e0fca View commit details
    Browse the repository at this point in the history