Skip to content

Commit

Permalink
Stop testing UnregisterFrozenSegment (#86279)
Browse files Browse the repository at this point in the history
  • Loading branch information
cshung authored May 16, 2023
1 parent c7482ad commit f0de000
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tests/GC/API/Frozen/Frozen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ public FrozenSegment(IntPtr underlyingSegment, IntPtr underlyingBuffer)

public void Release()
{
GCHelpers.UnregisterFrozenSegment(this.underlyingSegment);
Marshal.FreeHGlobal(this.underlyingBuffer);
// Workaround for GitHub 85863
// We are not aware of anyone calling this API so it's low priority to fix
// GCHelpers.UnregisterFrozenSegment(this.underlyingSegment);
// Marshal.FreeHGlobal(this.underlyingBuffer);
}
}

Expand Down

0 comments on commit f0de000

Please sign in to comment.