This commit is contained in:
Markus Hofknecht 2020-05-02 19:30:50 +02:00
parent d816580a90
commit 082ce6e385
3 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,5 @@
using System; using System;
using System.Reflection;
using System.Threading; using System.Threading;
using System.Windows.Forms; using System.Windows.Forms;
using SystemTrayMenu.Utilities; using SystemTrayMenu.Utilities;
@ -58,7 +59,8 @@ namespace SystemTrayMenu
"SystemTrayMenu BugSplat", MessageBoxButtons.YesNo) == DialogResult.Yes) "SystemTrayMenu BugSplat", MessageBoxButtons.YesNo) == DialogResult.Yes)
{ {
Log.ProcessStart("mailto:" + "markus@hofknecht.eu" + Log.ProcessStart("mailto:" + "markus@hofknecht.eu" +
"?subject=SystemTrayMenu Bug reported" + "?subject=SystemTrayMenu Bug reported " +
Assembly.GetEntryAssembly().GetName().Version +
"&body=" + ex.ToString()); "&body=" + ex.ToString());
} }

View file

@ -35,5 +35,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.9.2.23")] [assembly: AssemblyVersion("0.9.2.24")]
[assembly: AssemblyFileVersion("0.9.2.23")] [assembly: AssemblyFileVersion("0.9.2.24")]

View file

@ -37,7 +37,7 @@ namespace SystemTrayMenu.Utilities
{ {
foreach (Icon icon in dictIconCache.Values) foreach (Icon icon in dictIconCache.Values)
{ {
icon.Dispose(); icon?.Dispose();
} }
} }