From ee43df835127c733d4eeb2c18b2b2fbc7bbf044b Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Thu, 23 Aug 2018 10:40:23 +0300 Subject: Attempt to catch real time graphs crash. --- .../Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Software/Visual_Studio') diff --git a/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs b/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs index 141daf731..743ffaeab 100644 --- a/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs +++ b/Software/Visual_Studio/SideChains/RealTimeGraphEx/RealTimeGraphExBase.cs @@ -6,6 +6,7 @@ using System.Collections.ObjectModel; using System.Diagnostics; using System.Globalization; using System.Linq; +using System.Runtime.ExceptionServices; using System.Text; using System.Threading; using System.Threading.Tasks; @@ -1032,6 +1033,7 @@ namespace RealTimeGraphEx /// /// The push thread method. /// + [HandleProcessCorruptedStateExceptions] private void PushDataThreadMethod() { while (!_requestTermination.WaitOne(0)) -- cgit v1.3.1