From 1eb65a37dec35192c19d6b836c419379f8600d41 Mon Sep 17 00:00:00 2001 From: tscholb Date: Thu, 16 Sep 2021 19:20:02 +0900 Subject: [PATCH] [NUI] Delete dispose() in GetOriginalImageSize 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Tizen.NUI/src/internal/images/ImageLoading.cs b/src/Tizen.NUI/src/internal/images/ImageLoading.cs index ff64815..5fc9ce9 100644 --- a/src/Tizen.NUI/src/internal/images/ImageLoading.cs +++ b/src/Tizen.NUI/src/internal/images/ImageLoading.cs @@ -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; } -- 2.7.4