Ignore:
Timestamp:
Oct 9, 2014 3:51:51 AM (10 years ago)
Author:
riza
Message:

Misc (re #1782): Avoid assertion when updating keep alive. Assert scenario: register, switchoff network adapter and immediately request unregister. This issue is intermittent. (Thanks to Alexander Fotyanov for the patch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_acc.c

    r4938 r4942  
    19621962        acc->ka_timer.id = PJ_FALSE; 
    19631963 
    1964         pjsip_transport_dec_ref(acc->ka_transport); 
    1965         acc->ka_transport = NULL; 
     1964        if (acc->ka_transport) { 
     1965            pjsip_transport_dec_ref(acc->ka_transport); 
     1966            acc->ka_transport = NULL; 
     1967        } 
    19661968    } 
    19671969 
Note: See TracChangeset for help on using the changeset viewer.