Opened 11 years ago

Closed 11 years ago

#1717 closed defect (fixed)

Assertion in accessing conference from on_call_state() callback while pjsua destroy is on progress (thanks Johan Lantz for the report)

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

Description

Reported that while destroying pjsua, on_call_state() callback is called (for call disconnection), and from the callback app tries to disconnect conference bridge ports, but unfortunately media subsystem, including the conference bridge, has been destroyed at that point, so assertion is raised.

Change History (1)

comment:1 Changed 11 years ago by nanang

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

In 4694:

Fixed #1717: Destroy media subsystem after all pollings/busy_sleep() are done, but leave deallocating media transport (via pjsua_media_channel_deinit()) before the pollings to allow clean TURN destroy.

Note: See TracTickets for help on using tickets.