Ticket #9761: killtimer.patch

File killtimer.patch, 690 bytes (added by Jonatan <mythtv@…>, 10 years ago)
  • mythtv/programs/mythfrontend/playbackboxhelper.cpp

    diff --git a/mythtv/programs/mythfrontend/playbackboxhelper.cpp b/mythtv/programs/mythfrontend/playbackboxhelper.cpp
    index fac84dd..aae73b9 100644
    a b AvailableStatusType PBHEventHandler::CheckAvailability(const QStringList &slist) 
    104104            m_checkAvailability.find(evinfo.MakeUniqueKey());
    105105        if (it != m_checkAvailability.end())
    106106            m_checkAvailability.erase(it);
    107         if (m_checkAvailability.empty())
     107        if (m_checkAvailability.empty() && m_checkAvailabilityTimerId)
    108108            killTimer(m_checkAvailabilityTimerId);
    109109    }
    110110