mirror of https://github.com/dahall/Vanara.git
Changed call at disposal to just ReleaseComObject insted of FinalReleaseComObject.
parent
ff228216a4
commit
8d10011a6f
|
@ -60,7 +60,7 @@ namespace Vanara.InteropServices
|
|||
public void Dispose()
|
||||
{
|
||||
if (Item == null) return;
|
||||
Marshal.FinalReleaseComObject(Item);
|
||||
Marshal.ReleaseComObject(Item);
|
||||
Item = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue