Related to https://github.com/dotnet/runtime/issues/82422
{
get
{
- // CoreCLR 7.0 have issue with abortable internal native code.
+ // CoreCLR 7.0 and 8.0 have issue with abortable internal native code.
// https://github.com/dotnet/runtime/issues/82422
- if (System.Environment.Version.Major == 7)
+ if (System.Environment.Version.Major == 7 ||
+ System.Environment.Version.Major == 8)
{
while (true)
{
{
get
{
- // CoreCLR 7.0 have issue with abortable internal native code.
+ // CoreCLR 7.0 and 8.0 have issue with abortable internal native code.
// https://github.com/dotnet/runtime/issues/82422
- if (System.Environment.Version.Major == 7)
+ if (System.Environment.Version.Major == 7 ||
+ System.Environment.Version.Major == 8)
{
while (true)
{