aboutsummaryrefslogtreecommitdiffstatsci
path: root/Samples/DebugLogAnalyzer/src/DebugInterface.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DebugInterface.cs')
-rw-r--r--Samples/DebugLogAnalyzer/src/DebugInterface.cs6
1 files changed, 3 insertions, 3 deletions
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();