From: Jean-Philippe Bruyère Date: Wed, 21 Aug 2019 14:04:21 +0000 (+0200) Subject: restore locking in datasource change to layoutMtx X-Git-Tag: v0.8.7~9 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=809c7039e85c5d59a07b2f09088f86622070586d;p=jp%2Fcrow.git restore locking in datasource change to layoutMtx --- diff --git a/Crow/src/GraphicObjects/Widget.cs b/Crow/src/GraphicObjects/Widget.cs index d85ddfaa..663cb26e 100644 --- a/Crow/src/GraphicObjects/Widget.cs +++ b/Crow/src/GraphicObjects/Widget.cs @@ -1007,7 +1007,7 @@ namespace Crow #if DEBUG_LOG DbgEvent dbgEvt = DebugLog.AddEvent(DbgEvtType.GOLockLayouting, this); #endif - lock (IFace.UpdateMutex) { + lock (IFace.LayoutMutex) { OnDataSourceChanged (this, dse); NotifyValueChanged ("DataSource", DataSource); }