Changeset 5316
- Timestamp:
- May 25, 2016 5:25:12 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_dialog.c
r5241 r5316 788 788 PJ_ASSERT_RETURN(dlg->tsx_count==0, PJ_EINVALIDOP); 789 789 790 /* Unregister from user agent. */ 791 status = pjsip_ua_unregister_dlg(dlg->ua, dlg); 792 if (status != PJ_SUCCESS) { 793 pj_assert(!"Unexpected failed unregistration!"); 794 return status; 790 /* Unregister from user agent, if it has been registered (see #1924) */ 791 if (dlg->dlg_set) { 792 status = pjsip_ua_unregister_dlg(dlg->ua, dlg); 793 if (status != PJ_SUCCESS) { 794 pj_assert(!"Unexpected failed unregistration!"); 795 return status; 796 } 795 797 } 796 798
Note: See TracChangeset
for help on using the changeset viewer.