-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1) For closing, attach pages to their direct parent only. If a formenv exists, it will always be closed before the document and handle any open pages, so handling them again on document level is needless (though it wouldn't harm). 2) Keep a reference to the formenv on page level and capture it in the finalizer at init time to make the implementation formally safe. (Previously, the caller could interfere by tampering with `pdf.formenv`.)
- Loading branch information
Showing
2 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters