[NUI] Add dispose.
authorjoogab.yun <joogab.yun@samsung.com>
Wed, 15 Jun 2022 01:36:55 +0000 (10:36 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 21 Jun 2022 10:27:08 +0000 (19:27 +0900)
Dispose seems to be missing after creating and using value.

src/Tizen.NUI/src/public/Window/Window.cs

index a1c23f1..30a5182 100755 (executable)
@@ -1555,6 +1555,7 @@ namespace Tizen.NUI
             positionSize.Height = val.GetY();
 
             Interop.Window.SetPositionSize(SwigCPtr, Rectangle.getCPtr(positionSize));
+            val.Dispose();
 
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();