- Timestamp:
- Jul 31, 2015 11:35:20 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c
r5053 r5143 2199 2199 acc->rfc5626_status = OUTBOUND_UNKNOWN; 2200 2200 2201 /* Reset pointer to registration transport */ 2202 acc->auto_rereg.reg_tp = NULL; 2203 2201 2204 /* Stop keep-alive timer if any. */ 2202 2205 update_keep_alive(acc, PJ_FALSE, NULL); … … 2510 2513 2511 2514 /* Reset pointer to registration transport */ 2512 pjsua_var.acc[acc_id].auto_rereg.reg_tp = NULL; 2515 // Do not reset this here, as if currently there is another registration 2516 // on progress, this registration will fail but transport pointer will 2517 // become NULL which will prevent transport to be destroyed immediately 2518 // after disconnected (which may cause iOS app getting killed (see #1482). 2519 //pjsua_var.acc[acc_id].auto_rereg.reg_tp = NULL; 2513 2520 2514 2521 if (renew) {
Note: See TracChangeset
for help on using the changeset viewer.