Closed gerwintmg closed 1 year ago
If a Document is created but no pages are added the document object cannot be released as the filestream keeps the partial created file locked. By disposing the filestream in the dispose method we release the lock on the file.
Fixed in PDFsharp 6.0.0.
If a Document is created but no pages are added the document object cannot be released as the filestream keeps the partial created file locked. By disposing the filestream in the dispose method we release the lock on the file.