Ignore:
Timestamp:
Sep 23, 2019 10:47:05 PM (3 years ago)
Author:
riza
Message:

Close #2232: Crash on Endpoint::libDestroy() when there is an active call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/media.cpp

    r6026 r6074  
    749749} 
    750750 
     751#if !DEPRECATED_FOR_TICKET_2232 
    751752const AudioDevInfoVector &AudDevManager::enumDev() PJSUA2_THROW(Error) 
    752753{ 
     
    766767    return audioDevList; 
    767768} 
     769#endif 
    768770 
    769771AudioDevInfoVector2 AudDevManager::enumDev2() const PJSUA2_THROW(Error) 
     
    10841086void AudDevManager::clearAudioDevList() 
    10851087{ 
     1088#if !DEPRECATED_FOR_TICKET_2232 
    10861089    for(unsigned i=0;i<audioDevList.size();++i) { 
    10871090        delete audioDevList[i]; 
    10881091    } 
    10891092    audioDevList.clear(); 
     1093#endif 
    10901094} 
    10911095 
     
    14811485} 
    14821486 
     1487#if !DEPRECATED_FOR_TICKET_2232 
    14831488const VideoDevInfoVector &VidDevManager::enumDev() PJSUA2_THROW(Error) 
    14841489{ 
     
    15001505    return videoDevList; 
    15011506} 
     1507#endif 
    15021508 
    15031509VideoDevInfoVector2 VidDevManager::enumDev2() const PJSUA2_THROW(Error) 
     
    16661672void VidDevManager::clearVideoDevList() 
    16671673{ 
    1668 #if PJSUA_HAS_VIDEO 
     1674#if PJSUA_HAS_VIDEO && !DEPRECATED_FOR_TICKET_2232 
    16691675    for (unsigned i = 0;i<videoDevList.size();++i) { 
    16701676        delete videoDevList[i]; 
Note: See TracChangeset for help on using the changeset viewer.