From 2b6d20f81ec25698e39f2b1efac2574340aafcdd Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Fri, 9 Apr 2021 04:51:37 +0200 Subject: TG recursive lock check, IObsList clear evt, sample Editor xml syntax, command IList, CommandBase class --- Samples/DebugLogAnalyzer/src/DebugInterface.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Samples/DebugLogAnalyzer/src/DebugInterface.cs') diff --git a/Samples/DebugLogAnalyzer/src/DebugInterface.cs b/Samples/DebugLogAnalyzer/src/DebugInterface.cs index c0615321..8300abb2 100644 --- a/Samples/DebugLogAnalyzer/src/DebugInterface.cs +++ b/Samples/DebugLogAnalyzer/src/DebugInterface.cs @@ -41,11 +41,11 @@ namespace Crow } catch (System.Exception ex) { - if (Monitor.IsEntered(LayoutMutex)) + while (Monitor.IsEntered(LayoutMutex)) Monitor.Exit (LayoutMutex); - if (Monitor.IsEntered(UpdateMutex)) + while (Monitor.IsEntered(UpdateMutex)) Monitor.Exit (UpdateMutex); - if (Monitor.IsEntered(ClippingMutex)) + while (Monitor.IsEntered(ClippingMutex)) Monitor.Exit (ClippingMutex); delSetCurrentException (ex); ClearInterface(); -- cgit v1.3.1-4-g156e