fix lỗi báo máy in gần hết giấy còn 20 lần in

This commit is contained in:
thuannd88
2024-09-26 13:50:21 +07:00
parent f9f9ba3d49
commit d648718824
3 changed files with 9 additions and 7 deletions
+1
View File
@@ -206,6 +206,7 @@ namespace SafeBagDE70
protected override void OnExit(ExitEventArgs e)
{
// Release the mutex when the application is closed
AppData.UpdateDeviceStatusToFile();
mutex?.ReleaseMutex();
base.OnExit(e);
}