From 5f75edfcb2422b58f68e7446e8980b006ff4ca46 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Fri, 21 Sep 2018 15:25:13 +0300 Subject: [PATCH] disposeing --- FaceRecognizer/MainForm.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/FaceRecognizer/MainForm.cs b/FaceRecognizer/MainForm.cs index c22440e..e95262b 100644 --- a/FaceRecognizer/MainForm.cs +++ b/FaceRecognizer/MainForm.cs @@ -108,6 +108,10 @@ namespace FaceRecognizer } i++; } + reconizer.Dispose(); + imageList.Clear(); + faceCascade.Dispose(); + temp.Dispose(); } catch (Exception e){ throw e; } }