Changeset 4661
- Timestamp:
- Nov 29, 2013 12:33:05 AM (11 years ago)
- Location:
- pjproject/trunk/pjsip/src/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c
r4537 r4661 177 177 tcp->close_reason = status; 178 178 179 if (tcp->base.is_shutdown )179 if (tcp->base.is_shutdown || tcp->base.is_destroying) 180 180 return; 181 181 … … 195 195 (*state_cb)(&tcp->base, PJSIP_TP_STATE_DISCONNECTED, &state_info); 196 196 } 197 198 /* check again */ 199 if (tcp->base.is_shutdown || tcp->base.is_destroying) 200 return; 197 201 198 202 /* We can not destroy the transport since high level objects may -
pjproject/trunk/pjsip/src/pjsip/sip_transport_tls.c
r4537 r4661 184 184 tls->close_reason = status; 185 185 186 if (tls->base.is_shutdown )186 if (tls->base.is_shutdown || tls->base.is_destroying) 187 187 return; 188 188 … … 214 214 (*state_cb)(&tls->base, PJSIP_TP_STATE_DISCONNECTED, &state_info); 215 215 } 216 217 /* check again */ 218 if (tls->base.is_shutdown || tls->base.is_destroying) 219 return; 216 220 217 221 /* We can not destroy the transport since high level objects may
Note: See TracChangeset
for help on using the changeset viewer.