diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-04-09 04:51:37 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-04-09 04:51:37 +0200 |
| commit | 2b6d20f81ec25698e39f2b1efac2574340aafcdd (patch) | |
| tree | 821a44ace4d045f77733402bb1867b47b677c396 /Samples/DebugLogAnalyzer/src/DebugInterface.cs | |
| parent | 1a2d73613006acc5d519bac9b86d8c0c79ae9d46 (diff) | |
TG recursive lock check, IObsList clear evt, sample Editor xml syntax, command IList, CommandBase class
Diffstat (limited to 'Samples/DebugLogAnalyzer/src/DebugInterface.cs')
| -rw-r--r-- | Samples/DebugLogAnalyzer/src/DebugInterface.cs | 6 |
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(); |