From 2edda2b710363138162bebca392c064a88066d29 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 13 May 2024 16:54:17 +0900 Subject: [PATCH] Update BitmapUtils.cs --- WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs b/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs index 3bfd479..7c74937 100644 --- a/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs +++ b/WelsonJS.Toolkit/WelsonJS.Toolkit/BitmapUtils.cs @@ -47,6 +47,8 @@ namespace WelsonJS int width = bitmap.Width; int height = bitmap.Height; + bitmap.Dispose(); + return new int[] { width, height }; }