Ignore:
Timestamp:
Jul 26, 2018 3:05:10 AM (6 years ago)
Author:
ming
Message:

Re #2126: re 5841: move the event manager creation and destruction in pjsua_media instead

File:
1 edited

Legend:

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

    r5839 r5842  
    111111#endif 
    112112 
    113     /* Create event manager (if not yet, e.g: PJMEDIA_HAS_VIDEO==0) */ 
     113    /* Create event manager */ 
    114114    if (!pjmedia_event_mgr_instance()) { 
    115115        status = pjmedia_event_mgr_create(pjsua_var.pool,  
     
    232232        //pjmedia_snd_deinit(); 
    233233    } 
     234 
     235    if (pjmedia_event_mgr_instance()) 
     236        pjmedia_event_mgr_destroy(NULL); 
    234237 
    235238    pj_log_pop_indent(); 
Note: See TracChangeset for help on using the changeset viewer.