Applies to: All editions
Cancel an active operation
PDFSanitize displays an operation overlay while long-running analysis, sanitization, or verification is in progress. Use Cancel to request cancellation.
Cancellation behavior
Cancellation is cooperative. The current library operation must reach a cancellation point before the task stops. PDFSanitize records the cancellation in the activity log and returns the interface to its normal state.
A cancelled document must not be assumed to have a complete sanitized output or verification result.
Temporary files
Sanitization uses a temporary workspace for intermediate structural and rendered files. Temporary workspace cleanup occurs when the operation scope is disposed, including after normal failure paths.
The final sanitized file is copied to its output path only after the final PDF has been structurally validated.
Recover after interruption
After cancellation, application termination, or an unexpected error:
- Reopen PDFSanitize if necessary.
- Re-add the source PDFs if the working list was lost.
- Confirm whether any sanitized output file was created.
- Do not rely on an output that lacks the expected completed sanitization and verification state.
- Analyze the source again and run a new sanitization.
- Verify the new output and retain the new hashes or reports.
Do not reuse ambiguous outputs
If several numbered .sanitized files exist after repeated attempts, identify the intended output by its report, timestamp, and SHA-256 fingerprint. Delete or archive superseded copies only according to the organization’s retention policy.
