Opened 13 years ago
Closed 13 years ago
#9761 closed Patch - Bug Fix (fixed)
PBHEventHandler: Check m_checkAvailabilityTimerId before trying to kill it
Reported by: | Owned by: | Stuart Auchterlonie | |
---|---|---|---|
Priority: | minor | Milestone: | 0.25 |
Component: | MythTV - General | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
In PBHEventHandler::CheckAvailability?(), m_checkAvailabilityTimerId can be killed even if it is zero, causing the message "Application asked to unregister timer 0x0 which is not registered in this thread. Fix application." to appear in the FE logs.
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | killtimer.patch added |
---|
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
Milestone: | unknown → 0.25 |
---|---|
Owner: | set to Stuart Auchterlonie |
Status: | new → assigned |
comment:3 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closes #9761. Check to see if m_checkAvailabilityTimerId=0 before killing 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
Cherry picked from Changeset: 16775c5ceb57dab11cade55e31225664007268ca
Branch: master Changeset: 90786d7922f811a0a6c991fe1a0e5ce7656d759c
Refs #9761. Check to see if m_checkAvailabilityTimerId=0 before killing 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