X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FTizen.NUI%2Fsrc%2Fpublic%2FCommon%2FBaseHandle.cs;h=2729cb9176c388329b2a9dd872bf28bb69be29b4;hb=630bbef26365622b0de44077e0eb86fda91816f2;hp=b8e7eb3ce760e3af1843d8a6c50cdf22fd9068ab;hpb=7681ce25ad48551c5694299b3be39117c6d7e79a;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/Tizen.NUI/src/public/Common/BaseHandle.cs b/src/Tizen.NUI/src/public/Common/BaseHandle.cs index b8e7eb3..2729cb9 100755 --- a/src/Tizen.NUI/src/public/Common/BaseHandle.cs +++ b/src/Tizen.NUI/src/public/Common/BaseHandle.cs @@ -59,8 +59,9 @@ namespace Tizen.NUI /// Create an instance of BaseHandle. /// /// 3 - public BaseHandle() : this(Interop.BaseHandle.NewBaseHandle()) + public BaseHandle() : this(Interop.BaseHandle.NewBaseHandle(), true, false) { + // Note : Empty BaseHandle instance don't need to be register in Registry. if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); } @@ -69,8 +70,9 @@ namespace Tizen.NUI /// /// The BaseHandle instance. /// 3 - public BaseHandle(BaseHandle handle) : this(Interop.BaseHandle.NewBaseHandle(BaseHandle.getCPtr(handle))) + public BaseHandle(BaseHandle handle) : this(Interop.BaseHandle.NewBaseHandle(BaseHandle.getCPtr(handle)), true, false) { + // Note : Copyed BaseHandle instance don't need to be register in Registry. if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); }