[NUI] Fix TV AmbientMode empty screen
authordongsug.song <dongsug.song@samsung.com>
Wed, 20 Jan 2021 06:10:52 +0000 (15:10 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 20 Jan 2021 06:17:50 +0000 (15:17 +0900)
src/Tizen.NUI/src/public/Window.cs

index 68bc5eb..cce9c4d 100755 (executable)
@@ -1147,7 +1147,6 @@ namespace Tizen.NUI
         {
             var val = new Uint16Pair(Interop.Window.GetSize(swigCPtr), true);
             Vector2 ret = new Vector2(val.GetWidth(), val.GetHeight());
-            val.Dispose();
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
@@ -1241,8 +1240,6 @@ namespace Tizen.NUI
         {
             var val = new Uint16Pair(Interop.Window.GetSize(swigCPtr), true);
             Size2D ret = new Size2D(val.GetWidth(), val.GetHeight());
-            val.Dispose();
-
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }