From: minho.sun Date: Tue, 1 Aug 2017 01:19:32 +0000 (+0900) Subject: Revert "[Tizen] fix crash: HasBody() null reference" X-Git-Tag: submit/trunk/20170823.075128~91^2~45 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=317369bafbb4c80d9672da6a4efabc6bbf5bc139;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git Revert "[Tizen] fix crash: HasBody() null reference" This reverts commit 373d4fc3fe1be69c90339173de2e298891e9ba96. Change-Id: Ic31e14408b0850e630d06044b52f59a010fc52e7 --- diff --git a/src/Tizen.NUI/src/public/BaseHandle.cs b/src/Tizen.NUI/src/public/BaseHandle.cs index 0f03701..3088fb7 100755 --- a/src/Tizen.NUI/src/public/BaseHandle.cs +++ b/src/Tizen.NUI/src/public/BaseHandle.cs @@ -324,11 +324,6 @@ namespace Tizen.NUI public bool HasBody() { - if (disposed == true) - { - return false; - } - bool ret = NDalicPINVOKE.BaseHandle_HasBody(swigCPtr); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -336,11 +331,6 @@ namespace Tizen.NUI public bool IsEqual(BaseHandle rhs) { - if (disposed == true) - { - return false; - } - bool ret = NDalicPINVOKE.BaseHandle_IsEqual(swigCPtr, BaseHandle.getCPtr(rhs)); if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); return ret;