Ticket #2061 (closed defect: fixed)

Opened 12 days ago

Last modified 12 days ago

Unable to destroy certain PJSIP transports

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

Description

Once a pjsip transport is removed from the hash table, it cannot be manually destroyed.

Scenario:

  1. pjsip_transport_register() can move a transport from the hash table to tp_list. See ticket #1774.
  1. Calling pjsip_transport shutdown() to that transport will not destroy it since pjsip_transport_add_ref() and pjsip_transport_dec_ref() will have no effect, due to is_transport_valid() check.

Thanks to Joshua Colp for the patch.

Change History

comment:1 Changed 12 days ago by ming

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

In 5690:

Fixed #2061: Unable to destroy certain PJSIP transports

Note: See TracTickets for help on using tickets.