Skip to content

Commit

Permalink
MythCECAdapter: Respect the power tv on exit setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Dec 27, 2019
1 parent 3f54824 commit d890078
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mythtv/libs/libmythui/cecadapter.cpp
Expand Up @@ -252,7 +252,8 @@ void MythCECAdapter::Close(void)
{
if (m_adapter)
{
HandleActions(PowerOffTV);
if (m_powerOffTVOnExit)
HandleActions(PowerOffTV);
m_adapter->Close();
UnloadLibCec(m_adapter);
LOG(VB_GENERAL, LOG_INFO, LOC + "Closing down CEC.");
Expand Down

0 comments on commit d890078

Please sign in to comment.