Changeset 5240


Ignore:
Timestamp:
Feb 4, 2016 9:31:01 AM (5 years ago)
Author:
nanang
Message:

Misc (re #1882): Added exception catch in Call destructor.

File:
1 edited

Legend:

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

    r5170 r5240  
    391391     */ 
    392392    if (pjsua_get_state() < PJSUA_STATE_CLOSING && isActive()) { 
    393         CallOpParam prm; 
    394         hangup(prm); 
     393        try { 
     394            CallOpParam prm; 
     395            hangup(prm); 
     396        } catch (Error &err) { 
     397            // Ignore 
     398            PJ_UNUSED_ARG(err); 
     399        } 
    395400    } 
    396401} 
Note: See TracChangeset for help on using the changeset viewer.