Opened 12 years ago

Closed 12 years ago

#1648 closed defect (fixed)

Timer heap new API pj_timer_heap_cancel_if_active() should not assert if given bad entry

Reported by: bennylp Owned by: bennylp
Priority: normal Milestone: release-2.2
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported: no

Description

The pj_timer_heap_cancel_if_active() API may be given bad timer entry to cancel, because as the name suggest, caller does not check if the entry is active or not. In this case it should just ignore it rather than raising an assertion.

Change History (1)

comment:1 Changed 12 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

In 4449:

Fixed #1648: Timer heap new API cancel_if_active() should not assert if given bad entry

Note: See TracTickets for help on using tickets.