// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {
-
-public class ChildPropertyRegistration : global::System.IDisposable {
+namespace Tizen.NUI {\r
+\r
+ internal class ChildPropertyRegistration : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
}
~ChildPropertyRegistration() {
- Dispose();
+ DisposeQueue.Instance.Add(this);
}
public virtual void Dispose() {
+ if (!Stage.IsInstalled()) {
+ DisposeQueue.Instance.Add(this);
+ return;
+ }
+
lock(this) {
if (swigCPtr.Handle != global::System.IntPtr.Zero) {
if (swigCMemOwn) {
}
}
+
public ChildPropertyRegistration(TypeRegistration registered, string name, int index, PropertyType type) : this(NDalicPINVOKE.new_ChildPropertyRegistration(TypeRegistration.getCPtr(registered), name, index, (int)type), true) {
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}