Revert "[Tizen] fix crash: HasBody() null reference" 78/144078/1
authorminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 07:49:34 +0000 (16:49 +0900)
committerminho.sun <minho.sun@samsung.com>
Mon, 14 Aug 2017 07:49:37 +0000 (16:49 +0900)
This reverts commit 8746d5ba167450d56c367faca65bb5d34d549661.

Change-Id: I3bac7673295aaf156a4fb44f3e742e91203564bc

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;