Revert "[Tizen] fix crash: HasBody() null reference"
authordongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 01:36:19 +0000 (10:36 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 01:36:25 +0000 (10:36 +0900)
This reverts commit b2d85ed13a2496d6d26f0f86876a73a39711bc92.

Change-Id: I80ed17197b43c97e2976cc3605ac8bc3480be6e8

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

index 130d455..e0d7ecc 100755 (executable)
@@ -307,11 +307,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;
@@ -319,11 +314,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;