[EflSharp] Update Circle and efl cs files (#819)
[platform/core/csapi/tizenfx.git] / internals / src / EflSharp / EflSharp / efl / eldbus_proxy.cs
index 0fab5eb..f5eec40 100644 (file)
@@ -111,7 +111,14 @@ public class Proxy : IDisposable
 
         if (Own)
         {
-            eldbus_proxy_unref(h);
+            if (disposing)
+            {
+                eldbus_proxy_unref(h);
+            }
+            else
+            {
+                Efl.Eo.Globals.ThreadSafeFreeCbExec(eldbus_proxy_unref, h);
+            }
         }
     }