// the SWIG interface file instead.
//------------------------------------------------------------------------------
-namespace Tizen.NUI {
-
-public class SlotObserver : global::System.IDisposable {
+namespace Tizen.NUI {\r
+\r
+ internal class SlotObserver : global::System.IDisposable {
private global::System.Runtime.InteropServices.HandleRef swigCPtr;
protected bool swigCMemOwn;
}
~SlotObserver() {
- 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 virtual void SlotDisconnected(SWIGTYPE_p_Dali__CallbackBase callback) {
NDalicPINVOKE.SlotObserver_SlotDisconnected(swigCPtr, SWIGTYPE_p_Dali__CallbackBase.getCPtr(callback));
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();