From 77c160717cdf0712cfc9aa1a92b882424329cf9a Mon Sep 17 00:00:00 2001 From: dongsug-song <35130733+dongsug-song@users.noreply.github.com> Date: Mon, 17 May 2021 10:09:09 +0900 Subject: [PATCH] Update src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs yes. you are right. I use internal method. Co-authored-by: Seungkeun Lee --- .../src/public/BaseComponents/ViewPublicMethods.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs b/src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs index 49a38f738..0b7d1083e 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/ViewPublicMethods.cs @@ -642,11 +642,7 @@ namespace Tizen.NUI.BaseComponents [EditorBrowsable(EditorBrowsableState.Never)] public View FindDescendantByID(uint id) { - //to fix memory leak issue, match the handle count with native side. - IntPtr cPtr = Interop.Actor.Actor_FindChildById(swigCPtr, id); - View ret = this.GetInstanceSafely(cPtr); - if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); - return ret; + return FindChildById(id); } } -- 2.34.1