Made ISafeMemoryHandle derive from IDisposable

pull/83/head
David Hall 2019-09-19 12:22:21 -06:00
parent 8b02747d2f
commit 1491e32f80
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ namespace Vanara.InteropServices
}
/// <summary>Interface for classes that support safe memory pointers.</summary>
public interface ISafeMemoryHandle
public interface ISafeMemoryHandle : IDisposable
{
/// <summary>Gets a value indicating whether the handle value is invalid.</summary>
bool IsInvalid { get; }