diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-05-19 21:33:37 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-05-19 21:33:37 +0200 |
| commit | 37570a2ebed6dfa7ebabc665c688af14b55a894a (patch) | |
| tree | 671a2f5272f57fe3ad02f55721221264f818d191 /src/GraphicObjects/Image.cs | |
| parent | e6482e0efc568749f15dd12b91c56150a83a1172 (diff) | |
CrowMonitor tread loggertestDrmDebugTreading
Diffstat (limited to 'src/GraphicObjects/Image.cs')
| -rw-r--r-- | src/GraphicObjects/Image.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GraphicObjects/Image.cs b/src/GraphicObjects/Image.cs index 6a4c590d..84385e85 100644 --- a/src/GraphicObjects/Image.cs +++ b/src/GraphicObjects/Image.cs @@ -79,9 +79,9 @@ namespace Crow if (string.IsNullOrEmpty(value)) Picture = null; else { - lock(CurrentInterface.LayoutMutex){ - LoadImage (value); - } + CrowMonitor.Enter(CurrentInterface.LayoutMutex, "load image"); + LoadImage (value); + CrowMonitor.Exit(CurrentInterface.LayoutMutex); } } catch (Exception ex) { Debug.WriteLine (ex.Message); |