Revert "[Tizen] fix crash: HasBody() null reference"
authorminho.sun <minho.sun@samsung.com>
Tue, 1 Aug 2017 01:19:32 +0000 (10:19 +0900)
committerminho.sun <minho.sun@samsung.com>
Tue, 1 Aug 2017 01:19:34 +0000 (10:19 +0900)
This reverts commit 373d4fc3fe1be69c90339173de2e298891e9ba96.

Change-Id: Ic31e14408b0850e630d06044b52f59a010fc52e7

src/Tizen.NUI/src/public/BaseHandle.cs

index 0f03701..3088fb7 100755 (executable)
@@ -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;