Opened 6 years ago

Closed 6 years ago

#2061 closed defect (fixed)

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


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


  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 (1)

comment:1 Changed 6 years ago by ming

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

In 5690:

Fixed #2061: Unable to destroy certain PJSIP transports

Note: See TracTickets for help on using tickets.