Manual merge for nui v0.2.34
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / TransitionData.cs
index f927eea..74ea147 100755 (executable)
@@ -38,10 +38,14 @@ public class TransitionData : BaseHandle {
   }
 
   ~TransitionData() {
-    Dispose();
+    DisposeQueue.Instance.Add(this);
   }
 
   public override void Dispose() {
+    if (!Stage.IsInstalled()) {
+      DisposeQueue.Instance.Add(this);
+      return;
+    }
     lock(this) {
       if (swigCPtr.Handle != global::System.IntPtr.Zero) {
         if (swigCMemOwn) {