mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 13:05:38 +02:00
speedup program exit
This commit is contained in:
parent
e04dc2ee07
commit
ed3ee46735
1 changed files with 3 additions and 0 deletions
|
@ -285,6 +285,9 @@ namespace PersistentWindows.SystrayShell
|
|||
|
||||
private void Exit()
|
||||
{
|
||||
var process = Process.GetCurrentProcess();
|
||||
process.PriorityClass = ProcessPriorityClass.High;
|
||||
|
||||
Program.WriteDataDump();
|
||||
|
||||
#if DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue