[NUI] Fix TriggerEvent crash issue 03/159803/2
authorxb.teng <xb.teng@samsung.com>
Wed, 8 Nov 2017 10:12:22 +0000 (18:12 +0800)
committerhuiyu,eun <huiyu.eun@samsung.com>
Mon, 13 Nov 2017 07:32:20 +0000 (16:32 +0900)
Change-Id: Ia8845a8ec56181b49b754a998a85e252adb2dc5c

src/Tizen.NUI/src/internal/EventThreadCallback.cs

index b43eba0..55b9175 100755 (executable)
@@ -44,11 +44,11 @@ namespace Tizen.NUI
 
         ~EventThreadCallback()
         {
-            if (!isDisposeQueued)
-            {
-                isDisposeQueued = true;
-                DisposeQueue.Instance.Add(this);
-            }
+            //if (!isDisposeQueued)
+            //{
+                //isDisposeQueued = true;
+                //DisposeQueue.Instance.Add(this);
+            //}
         }
 
         public void Dispose()
@@ -94,7 +94,7 @@ namespace Tizen.NUI
                 if (swigCMemOwn)
                 {
                     swigCMemOwn = false;
-                    NDalicManualPINVOKE.delete_EventThreadCallback(swigCPtr);
+                    //NDalicManualPINVOKE.delete_EventThreadCallback(swigCPtr);
                 }
                 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
             }