[NUI][API10] Fix worker thread handle removal issue
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 11 Jun 2024 15:11:46 +0000 (00:11 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Tue, 11 Jun 2024 15:18:02 +0000 (00:18 +0900)
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/public/BaseComponents/ViewAccessibilityEvent.cs

index 2727ef4cd1bd0e817dbafc784dbbfd129d55274e..68a053f31cc22cc066693c6dfec5ad6397545579 100755 (executable)
@@ -209,10 +209,15 @@ namespace Tizen.NUI.BaseComponents
             }
 
             protected override bool ReleaseHandle()
+            {
+                DisposeQueue.Instance.Add(this);
+                return true;
+            }
+
+            public void Dispose()
             {
                 Interop.View.DeleteControlHandleView(handle);
                 this.SetHandle(IntPtr.Zero);
-                return true;
             }
         }