mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-12 05:25:37 +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()
|
private void Exit()
|
||||||
{
|
{
|
||||||
|
var process = Process.GetCurrentProcess();
|
||||||
|
process.PriorityClass = ProcessPriorityClass.High;
|
||||||
|
|
||||||
Program.WriteDataDump();
|
Program.WriteDataDump();
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue