Skip to content

Ensure PDFView.close() really closes and releases all resource #5278

@yurydelendik

Description

@yurydelendik

Currently when we are closing we are not checking if loading or page rendering in progress. Also pdfDocument.destroy is a async operation.

We should either wait for all operations (fonts are cleared, the loading and rendering operations) to complete or ensure all started operations are aborted and those will not have further effect on the viewer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions