Changes between Initial Version and Version 2 of Ticket #2043


Ignore:
Timestamp:
Sep 20, 2017 5:28:05 AM (4 years ago)
Author:
riza
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2043

    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #2043 – Description

    initial v2  
    1414(*ice_st->cb.on_ice_complete)(ice_st, PJ_ICE_STRANS_OP_NEGOTIATION, status); 
    1515}}} 
     16 
     17The callback and user_data was reset from this line: 
     18{{{ 
     19    /* Reset callback and user data */ 
     20    pj_bzero(&ice_st->cb, sizeof(ice_st->cb)); 
     21    ice_st->user_data = NULL; 
     22}}} 
     23 
     24To avoid the crash due to the reset, then the callback is stored in a var 
     25and use that to call the callback.