From 8d10011a6fd6586ca7ec0a05224dd3e0333d2994 Mon Sep 17 00:00:00 2001 From: dahall Date: Wed, 26 Feb 2020 15:15:31 -0700 Subject: [PATCH] Changed call at disposal to just ReleaseComObject insted of FinalReleaseComObject. --- Core/InteropServices/ComReleaser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/InteropServices/ComReleaser.cs b/Core/InteropServices/ComReleaser.cs index a883c145..871d2086 100644 --- a/Core/InteropServices/ComReleaser.cs +++ b/Core/InteropServices/ComReleaser.cs @@ -60,7 +60,7 @@ namespace Vanara.InteropServices public void Dispose() { if (Item == null) return; - Marshal.FinalReleaseComObject(Item); + Marshal.ReleaseComObject(Item); Item = null; } }