mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
flush log on Util.Fatal()
This commit is contained in:
parent
39b6c4b701
commit
12efd9e679
1 changed files with 3 additions and 0 deletions
|
|
@ -344,7 +344,10 @@ public static class Util
|
|||
_ = NativeFunctions.MessageBoxW(Process.GetCurrentProcess().MainWindowHandle, message, caption, flags);
|
||||
|
||||
if (exit)
|
||||
{
|
||||
Log.CloseAndFlush();
|
||||
Environment.Exit(-1);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue