mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-11-19 17:21:15 +01:00
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:
1 parent
0c41346400
commit
fc7932ad27
5 files changed
+59
-1
No files matched your search
@@ -272,6 +272,7 @@ namespace Ryujinx.Ava
|
||||
|
||||
if (isTerminating)
|
||||
{
|
||||
Logger.Flush();
|
||||
Exit();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user