mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
undo early raising process priority due to restore failure
This commit is contained in:
parent
580a0864e2
commit
5d15d4c042
1 changed files with 2 additions and 2 deletions
|
@ -791,8 +791,6 @@ namespace PersistentWindows.Common
|
|||
this.displaySettingsChangingHandler =
|
||||
(s, e) =>
|
||||
{
|
||||
process.PriorityClass = ProcessPriorityClass.High;
|
||||
|
||||
if (!freezeCapture)
|
||||
{
|
||||
lastDisplayChangeTime = DateTime.Now;
|
||||
|
@ -3220,6 +3218,8 @@ namespace PersistentWindows.Common
|
|||
|
||||
Log.Trace("Restore timer expired");
|
||||
|
||||
process.PriorityClass = ProcessPriorityClass.High;
|
||||
|
||||
lock (restoreLock)
|
||||
BatchRestoreApplicationsOnCurrentDisplays();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue