@@ -261,6 +261,10 @@ namespace AnnotationViewControl
{
return;
}
+ else
+ {
+ pdfViewer.PDFView.Document.Release();
+ }
passwordViewer = new PDFViewControl();
@@ -259,6 +259,10 @@ namespace ContentEditorViewControl
@@ -147,6 +147,10 @@ namespace DigitalSignature
@@ -248,6 +248,10 @@ namespace FormViewControl
@@ -258,6 +258,10 @@ namespace PDFViewer
if ((bool)CheckExistBeforeOpenFileEvent?.Invoke(new string[] { filePath, oldFilePath }))
@@ -343,6 +343,10 @@ namespace Viewer
+ pdfViewControl.PDFView.Document.Release();