Merge remote-tracking branch 'github/API5' into tizen_5.0
authorTizenAPI-Bot <tizenapi@samsung.com>
Wed, 6 Mar 2019 00:02:49 +0000 (00:02 +0000)
committerTizenAPI-Bot <tizenapi@samsung.com>
Wed, 6 Mar 2019 00:02:49 +0000 (00:02 +0000)
src/Tizen.NUI/src/internal/XamlBinding/ObservableWrapper.cs

index b897657..2a220ea 100755 (executable)
@@ -139,7 +139,7 @@ namespace Tizen.NUI.Binding
                 throw new NotSupportedException("The collection is read-only");
             int innerIndex = ToInnerIndex(index);
             TTrack item = _list[innerIndex];
-            if (item.Owned)
+            if (item != null && item.Owned)
             {
                 _list.RemoveAt(innerIndex);
                 item.Owned = false;