(ApplicationExit): exception guard.

This commit is contained in:
morkt 2017-03-03 17:46:28 +04:00
parent 1e14ff627a
commit 9fbdba9da3

View File

@ -107,9 +107,16 @@ namespace GARbro.GUI
} }
void ApplicationExit (object sender, ExitEventArgs e) void ApplicationExit (object sender, ExitEventArgs e)
{
try
{ {
Settings.Default.Save(); Settings.Default.Save();
} }
catch (Exception X)
{
Trace.WriteLine (X.Message, "[GARbro.GUI.App]");
}
}
void UpgradeSettings () void UpgradeSettings ()
{ {