X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=6cf16a4b4615290b52507c8833498917406b4701;hb=86393878734d316e04319c739dd45fc90c50bef8;hp=2943ba39b3a17059491bc098a3414a3be18c8182;hpb=24dd566c2a75900a5add19d9b5965ab04f7d6fd4;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 2943ba3..6cf16a4 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -74,11 +74,6 @@ namespace CEC ~CWaitForResponse(void) { PLATFORM::CLockObject lock(m_mutex); - for (std::map::iterator it = m_waitingFor.begin(); it != m_waitingFor.end(); it++) - { - it->second->Broadcast(); - delete it->second; - } m_waitingFor.clear(); } @@ -179,6 +174,7 @@ namespace CEC virtual bool HandleGiveSystemAudioModeStatus(const cec_command &command); virtual bool HandleImageViewOn(const cec_command &command); virtual bool HandleMenuRequest(const cec_command &command); + virtual bool HandlePoll(const cec_command &command); virtual bool HandleReportAudioStatus(const cec_command &command); virtual bool HandleReportPhysicalAddress(const cec_command &command); virtual bool HandleReportPowerStatus(const cec_command &command);