Skip to content

Commit

Permalink
Merge pull request xbmc#7777 from Paxxi/shutdown
Browse files Browse the repository at this point in the history
[xbmc][applicationmessenger] Fix endless loop during shutdown.
  • Loading branch information
Paxxi committed Aug 10, 2015
2 parents 9f00338 + f12a98e commit e31640a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/Application.cpp
Expand Up @@ -2509,7 +2509,7 @@ void CApplication::OnApplicationMessage(ThreadMessage* pMsg)
switch (CSettings::Get().GetInt(CSettings::SETTING_POWERMANAGEMENT_SHUTDOWNSTATE))
{
case POWERSTATE_SHUTDOWN:
CApplicationMessenger::Get().PostMsg(TMSG_SHUTDOWN);
CApplicationMessenger::Get().PostMsg(TMSG_POWERDOWN);
break;

case POWERSTATE_SUSPEND:
Expand Down

0 comments on commit e31640a

Please sign in to comment.