[NUI] Delete dispose() in GetOriginalImageSize
authortscholb <scholb.kim@samsung.com>
Thu, 16 Sep 2021 10:20:02 +0000 (19:20 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 27 Sep 2021 08:27:23 +0000 (17:27 +0900)
Some applications call this function outside the main thread and this is a problem.
so i delete it temporary

src/Tizen.NUI/src/internal/images/ImageLoading.cs

index ff64815..5fc9ce9 100644 (file)
@@ -517,7 +517,6 @@ namespace Tizen.NUI
         {
             var val = new Uint16Pair(Interop.ImageLoading.GetOriginalImageSize(filename, orientationCorrection), true);
             Size2D ret = new Size2D(val.GetWidth(), val.GetHeight());
-            val.Dispose();
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }