Skip to content
Snippets Groups Projects
Commit 13339bf7 authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

SafeHandleZeroIsInvalid cleanup

parent 79b75b9a
No related branches found
No related tags found
No related merge requests found
...@@ -45,10 +45,6 @@ namespace Grpc.Core.Internal ...@@ -45,10 +45,6 @@ namespace Grpc.Core.Internal
{ {
} }
public SafeHandleZeroIsInvalid(bool ownsHandle) : base(IntPtr.Zero, ownsHandle)
{
}
public override bool IsInvalid public override bool IsInvalid
{ {
get get
...@@ -56,11 +52,5 @@ namespace Grpc.Core.Internal ...@@ -56,11 +52,5 @@ namespace Grpc.Core.Internal
return handle == IntPtr.Zero; return handle == IntPtr.Zero;
} }
} }
protected override bool ReleaseHandle()
{
// handle is not owned.
return true;
}
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment