Update src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 26 Dec 2024 06:26:53 +0000 (15:26 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Thu, 26 Dec 2024 06:33:35 +0000 (15:33 +0900)
Co-authored-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
src/Tizen.NUI/src/public/BaseComponents/LottieAnimationView.cs

index dbd7a1e08f7780dceb951ab7e6a4513b7f19c46c..12247d28c872a75bb91deeb69f8a725da273ccc8 100755 (executable)
@@ -1502,7 +1502,7 @@ namespace Tizen.NUI.BaseComponents
 
             if (weakReferencesOfLottie.TryGetValue(id, out current))
             {
-                if (current.TryGetTarget(out currentView) && (currentView != null) && !currentView.IsDisposedOrQueued && current != null)
+                if (current != null && current.TryGetTarget(out currentView) && (currentView != null) && !currentView.IsDisposedOrQueued)
                 {
                     lock (currentView.InternalPropertyCallbacksLock)
                     {