Opened 18 years ago
Closed 18 years ago
#29 closed defect (fixed)
Calling pjsua_create() after pjsua_destroy() fails
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-0.5.10 |
Component: | pjlib | Version: | 0.5.9 |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Description
Some application want to be able to call pjsua_create() after calling pjsua_destroy(). Currently this sequence fails because the error subsystem has already been registered and subsequent registration will be refused.
The solution perhaps is to clear the error subsystem once pj_shutdown() is called.
Change History (3)
comment:1 follow-up: ↓ 2 Changed 18 years ago by bennylp
- Status changed from new to assigned
comment:2 in reply to: ↑ 1 Changed 18 years ago by bennylp
Replying to bennylp:
.. and pj_errno_clear_handlers() should be called by pj_shutdown(), of course.
comment:3 Changed 18 years ago by bennylp
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in r839
Note: See
TracTickets for help on using
tickets.
Few things that should be cleared by pj_shutdown():