From 47b3e3173f75efdf7f07d645a700f91c29a9ced8 Mon Sep 17 00:00:00 2001 From: Kang Yu Date: Fri, 9 Feb 2024 12:22:34 -0800 Subject: [PATCH] do delayed capture after successful auto restore --- .../Common/PersistentWindowProcessor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs index 43bd4a6..1eabe65 100644 --- a/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs +++ b/Ninjacrab.PersistentWindows.Solution/Common/PersistentWindowProcessor.cs @@ -458,6 +458,8 @@ namespace PersistentWindows.Common if (wasRestoringSnapshot || noRestoreWindowsTmp.Count > 0) CaptureApplicationsOnCurrentDisplays(curDisplayKey, immediateCapture: true); + else + StartCaptureTimer(); } bool db_exist = false;