You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log($"No-one has signed in after double the timeout, somethings wrong (hybrid boot?). Resetting timer.",EventLogEntryType.Error);
52
+
_lastTimeUserLoggedOut=DateTime.Now;
53
+
}
54
+
elseif(loggedOut>Watchdog.Default.TimeToWait)
49
55
{
50
-
Log($"No-one has signed in after {Watchdog.Default.TimeToWait.ToString()}, shutting down computer.",EventLogEntryType.Warning);
51
-
ShutdownComputer();
56
+
if(!_shutdownInitiated)
57
+
{
58
+
Log($"No-one has signed in after {Watchdog.Default.TimeToWait.ToString()}, shutting down computer.\nLast time someone signed out: {_lastTimeUserLoggedOut}",EventLogEntryType.Warning);
0 commit comments