rewind auto capture which happened right before session lock

This commit is contained in:
Kang Yu 2024-08-12 10:43:23 -07:00
parent eade031052
commit 8b12f6e4a8

View file

@ -834,6 +834,7 @@ namespace PersistentWindows.Common
case SessionSwitchReason.SessionLock:
Log.Event("Session closing: reason {0}", args.Reason);
{
UndoCapture(DateTime.Now);
sessionLocked = true;
sessionActive = false;
EndDisplaySession();