Add process exception handling and clean window closing logic

This commit is contained in:
Stone_Red
2026-06-08 20:34:25 +02:00
parent 82efb8d967
commit 169c604c7a
4 changed files with 32 additions and 10 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ public class DesktopProcess : Process
WindowManager.Update();
// Sleep slightly to yield CPU to the main CLI thread (approx 60 FPS)
//Thread.Sleep(16);
Thread.Sleep(16);
}
IsRunning = false;