mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Wrap in case something goes wrong
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Drawing.Imaging;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace OSD
|
||||
|
||||
@@ -420,7 +420,13 @@ namespace GHelper
|
||||
fans.LoadFans();
|
||||
|
||||
if (notify) {
|
||||
Program.toast.RunToast(perfName);
|
||||
try
|
||||
{
|
||||
Program.toast.RunToast(perfName);
|
||||
} catch
|
||||
{
|
||||
Debug.WriteLine("Toast error");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user