Changeset 4844 for pjproject


Ignore:
Timestamp:
May 9, 2014 10:39:39 AM (10 years ago)
Author:
bennylp
Message:

Re #1768: fixed potential GC problem when rejecting incoming call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/java/android/src/org/pjsip/pjsua2/app/MainActivity.java

    r4840 r4844  
    208208                        /* Only one call at anytime */ 
    209209                        if (currentCall != null) { 
     210                                /* 
    210211                                prm.setStatusCode(pjsip_status_code.PJSIP_SC_BUSY_HERE); 
    211212                                try { 
    212213                                        call.hangup(prm); 
    213214                                } catch (Exception e) {} 
     215                                */ 
     216                                // TODO: set status code 
     217                                call.delete(); 
    214218                                return true; 
    215219                        } 
Note: See TracChangeset for help on using the changeset viewer.