Skip to content

Commit f0de000

Browse files
authored
Stop testing UnregisterFrozenSegment (#86279)
1 parent c7482ad commit f0de000

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/tests/GC/API/Frozen/Frozen.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ public FrozenSegment(IntPtr underlyingSegment, IntPtr underlyingBuffer)
2121

2222
public void Release()
2323
{
24-
GCHelpers.UnregisterFrozenSegment(this.underlyingSegment);
25-
Marshal.FreeHGlobal(this.underlyingBuffer);
24+
// Workaround for GitHub 85863
25+
// We are not aware of anyone calling this API so it's low priority to fix
26+
// GCHelpers.UnregisterFrozenSegment(this.underlyingSegment);
27+
// Marshal.FreeHGlobal(this.underlyingBuffer);
2628
}
2729
}
2830

0 commit comments

Comments
 (0)