From 9fbdba9da3a81e7ebf43ba9115274c05b688ba21 Mon Sep 17 00:00:00 2001 From: morkt Date: Fri, 3 Mar 2017 17:46:28 +0400 Subject: [PATCH] (ApplicationExit): exception guard. --- GUI/App.xaml.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/GUI/App.xaml.cs b/GUI/App.xaml.cs index c6183920..d21504da 100644 --- a/GUI/App.xaml.cs +++ b/GUI/App.xaml.cs @@ -108,7 +108,14 @@ namespace GARbro.GUI void ApplicationExit (object sender, ExitEventArgs e) { - Settings.Default.Save(); + try + { + Settings.Default.Save(); + } + catch (Exception X) + { + Trace.WriteLine (X.Message, "[GARbro.GUI.App]"); + } } void UpgradeSettings ()