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: Jonatan <mythtv@…> 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)

killtimer.patch (690 bytes) - added by Jonatan <mythtv@…> 13 years ago.

Download all attachments as: .zip

Change History (4)

Changed 13 years ago by Jonatan <mythtv@…>

Attachment: killtimer.patch added

comment:1 Changed 13 years ago by Github

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

Changeset: 16775c5ceb57dab11cade55e31225664007268ca

comment:2 Changed 13 years ago by Stuart Auchterlonie

Milestone: unknown0.25
Owner: set to Stuart Auchterlonie
Status: newassigned

comment:3 Changed 13 years ago by Github

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.