From caba8bac3e7dcfa44efca6f5453a169e3dac8f9f Mon Sep 17 00:00:00 2001 From: KP9lKk Date: Thu, 26 Dec 2024 15:40:07 +0300 Subject: [PATCH] hot fix? --- AppForKids/MainWindow.axaml.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AppForKids/MainWindow.axaml.cs b/AppForKids/MainWindow.axaml.cs index a82e035..a0b519d 100644 --- a/AppForKids/MainWindow.axaml.cs +++ b/AppForKids/MainWindow.axaml.cs @@ -32,5 +32,6 @@ public partial class MainWindow : Window _currentUser.Clicks += 1; dbContext.Update(_currentUser); if(dbContext.SaveChanges() > 0) CountClickText(); + dbContext.Dispose(); } } \ No newline at end of file