Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Refs #9761. Check to see if m_checkAvailabilityTimerId=0 before killi…

…ng it.

Prevents the frontend issuing the following error message.
"Application asked to unregister timer 0x0 which is not registered in this
thread. Fix application."

Thanks to Jonatan for the patch.

Stuart
  • Loading branch information...
commit 16775c5ceb57dab11cade55e31225664007268ca 1 parent e751ba6
@stuarta stuarta authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mythtv/programs/mythfrontend/playbackboxhelper.cpp
View
2  mythtv/programs/mythfrontend/playbackboxhelper.cpp
@@ -104,7 +104,7 @@ AvailableStatusType PBHEventHandler::CheckAvailability(const QStringList &slist)
m_checkAvailability.find(evinfo.MakeUniqueKey());
if (it != m_checkAvailability.end())
m_checkAvailability.erase(it);
- if (m_checkAvailability.empty())
+ if (m_checkAvailability.empty() && m_checkAvailabilityTimerId)
killTimer(m_checkAvailabilityTimerId);
}
Please sign in to comment.
Something went wrong with that request. Please try again.