Flush the error log before exit

Currently, some logs can be missing when a fatal error occurs (especially GuestBrokeExecutionException).

This MR attempts to flush logs to console and file before process exit.
This commit is contained in:
Coxxs authored and KeatonTheBot committed 2025-10-27 09:16:22 -05:00
1 parent 0c41346400
commit fc7932ad27
5 files changed
+59 -1

No files matched your search

+1
View File
@@ -272,6 +272,7 @@ namespace Ryujinx.Ava
if (isTerminating)
{
Logger.Flush();
Exit();
}
}