Changeset 4533 for pjproject/trunk


Ignore:
Timestamp:
Jun 13, 2013 4:53:24 AM (11 years ago)
Author:
nanang
Message:

Re #1671: Destroy tdata_counter only after cleaning up dangling transmit buffer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_transport.c

    r4530 r4533  
    15361536                  pj_atomic_get(mgr->tdata_counter))); 
    15371537    } 
    1538      
    1539     pj_atomic_destroy(mgr->tdata_counter); 
    15401538#endif 
    15411539 
     
    15521550        PJ_LOG(3,(THIS_FILE, "Cleaned up dangling transmit buffer(s).")); 
    15531551    } 
     1552 
     1553#if defined(PJ_DEBUG) && PJ_DEBUG!=0 
     1554    pj_atomic_destroy(mgr->tdata_counter); 
     1555#endif 
    15541556 
    15551557    pj_lock_destroy(mgr->lock); 
Note: See TracChangeset for help on using the changeset viewer.