16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 14:39:18 +02:00

Fix logging crash on exit

This commit is contained in:
2025-04-17 14:35:02 +02:00
parent 173df2ca54
commit f464d16f42
3 changed files with 8 additions and 2 deletions

View File

@@ -78,6 +78,8 @@ void LogService()
{
while (true)
{
if (InfoStack.empty() && ErrorStack.empty() && Global.applicationQuitOrder)
break;
// loop for logging
// write logs and log.txt