Small correction in PowerScheduler.cs #860 (1 Viewer)

styriaman

Portal Pro
September 13, 2004
74
2
Austria/Styria
Hi Devs,

IMHO the line 860 in PowerScheduler.cs should be changed from

SuspendSystem("", (int)(powerStatus == PowerEventType.QuerySuspend ? RestartOptions.Hibernate : RestartOptions.Suspend), false);

to

SuspendSystem("", (int)(powerStatus == PowerEventType.QuerySuspend ? RestartOptions.Suspend : RestartOptions.Hibernate), false);

Otherwise it causes a hibernate on a suspend request

Regards

Joe
 

Users who are viewing this thread

Top Bottom