Skip to content

Commit c319c57

Browse files
author
andrey.leskov
committed
hander for invalid accesss exception
1 parent 0d845c1 commit c319c57

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

GridGomain.Tests.Stress/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections.Generic;
33
using System.Diagnostics;
44
using System.Linq;
5+
using System.Runtime.ExceptionServices;
56
using System.Security.Policy;
67
using System.Threading;
78
using System.Threading.Tasks;
@@ -23,6 +24,7 @@ namespace GridGomain.Tests.Stress
2324
{
2425
public class Program
2526
{
27+
[HandleProcessCorruptedStateExceptions]
2628
public static void Main(params string[] args)
2729
{
2830
var unityContainer = new UnityContainer();

0 commit comments

Comments
 (0)