From 948629a2175aea3acfa7210be0fd215699eaa1a3 Mon Sep 17 00:00:00 2001 From: Jonathan Jenne Date: Thu, 14 Apr 2022 13:34:31 +0200 Subject: [PATCH] DocumentViewer: dont dispose of the whole gdviewer class --- Controls.DocumentViewer/DocumentViewer.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controls.DocumentViewer/DocumentViewer.vb b/Controls.DocumentViewer/DocumentViewer.vb index a19a679e..1935397d 100644 --- a/Controls.DocumentViewer/DocumentViewer.vb +++ b/Controls.DocumentViewer/DocumentViewer.vb @@ -189,7 +189,7 @@ Public Class DocumentViewer Case Else _logger.Debug("Closing GDPicture Viewer") - GdViewer.Dispose() + GdViewer.CloseDocument() End Select Catch ex As Exception