public void OnSessionEnding(object sender, SessionEndingEventArgs e)
{
+ Controller.CECActions.SuppressUpdates = true;
Controller.Close();
}
switch (pwr.Data)
{
case 0:
- OnWake();
- return;
+ // do _not_ wake the pc when away mode is deactivated
+ //OnWake();
+ //return;
case 1:
OnSleep();
return;
Hide();
if (disposing)
{
+ Controller.CECActions.SuppressUpdates = true;
Controller.Close();
}
if (disposing && (components != null))