Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reset
pageRotation
and downloadComplete
in `PDFViewerApplication.…
…close` Currently, these properties are reset in what appears to be somewhat arbitrary locations (within the `load` and `open` methods respectively). The explanation is probably that both of these properties predates the existence of any centralized clean-up code in the viewer. Hence I think that it makes sense to move the resetting of these properties to the `close` method, since that improves the overview of what's actually cleaned-up/reset when changing documents in the viewer.
- Loading branch information