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; } }