Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f6ad954

Browse files
authored
Merge pull request #5889 from wtgodbe/Loader
Fix race condition in Loader regression 523654 test
2 parents cd46973 + 27e1cdf commit f6ad954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/src/Loader/classloader/regressions/523654/test532654_b.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class A
4646
public void meth<T>()
4747
{
4848
Console.WriteLine(Thread.CurrentThread.Name + ": Inside meth<int>");
49-
++i;
49+
Interlocked.Increment(ref i);
5050
}
5151
}
5252

0 commit comments

Comments
 (0)