- when object is disposed but not set as null in C# side, native object of HasBody() gives null reference exception
Change-Id: I0b99d583de4262bf95b06acbbfe2df2e2b742324
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
public bool HasBody()
{
+ if (disposed == true)
+ {
+ return false;
+ }
+
bool ret = NDalicPINVOKE.BaseHandle_HasBody(swigCPtr);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
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;