speedup program exit

This commit is contained in:
Kang Yu 2024-09-18 17:03:42 -07:00
parent e04dc2ee07
commit ed3ee46735

View file

@ -285,6 +285,9 @@ namespace PersistentWindows.SystrayShell
private void Exit()
{
var process = Process.GetCurrentProcess();
process.PriorityClass = ProcessPriorityClass.High;
Program.WriteDataDump();
#if DEBUG