Fix SVACE major issue 82/322582/2
authorazijurr <azijur.r@samsung.com>
Fri, 11 Apr 2025 05:53:22 +0000 (11:53 +0600)
committerazijurr <azijur.r@samsung.com>
Fri, 11 Apr 2025 06:33:07 +0000 (12:33 +0600)
[Issue] WGID : 283490

[Cause & Masure]
Cause: It was detecting that Dispose(bool disposing) of base class is not called.
Measure: Calling base.Dispose(bool ..) instead of base.Dispose()

Change-Id: Icfa2a801e7f323d8e142cca2113135f48b490e17
Signed-off-by: azijurr <azijur.r@samsung.com>
SettingWallpaper/SettingWallpaper/CustomBorder.cs

index 6027b4bde55fb03edfaca2f913151ba9e7cb68cf..dd0d2d166f25217ecb0153c30c97e57bc6243979 100644 (file)
@@ -225,6 +225,7 @@ namespace SettingWallpaper
             {
                 return;
             }
+
             if (disposing == true)
             {
                 maximalizeIcon.TouchEvent -= OnMaximizeIconTouched;
@@ -244,7 +245,8 @@ namespace SettingWallpaper
                 leftCornerIcon = null;
             }
             disposed = true;
-            base.Dispose();
+
+            base.Dispose(disposing);
         }
     }
 }