Changeset 3989


Ignore:
Timestamp:
Nov 26, 2007, 8:44:19 PM (15 years ago)
Author:
charles
Message:

fix crash-on-exit introduced by stats code

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/stats.c

    r3988 r3989  
    120120    stats->startTime = time(NULL);
    121121    handle->sessionStats = stats;
     122fprintf( stderr, "handle %p sessionStats is %p\n", handle, handle->sessionStats );
    122123}
    123124
     
    126127{
    127128    tr_session_stats tmp;
     129fprintf( stderr, "handle %p sessionStats is %p\n", handle, handle->sessionStats );
    128130    tr_getCumulativeSessionStats( handle, &tmp );
    129131    saveCumulativeStats( &tmp );
  • trunk/libtransmission/transmission.c

    r3982 r3989  
    327327        tr_torrentClose( t );
    328328
    329     tr_statsClose( h );
    330 
    331329    tr_peerMgrFree( h->peerMgr );
    332330
Note: See TracChangeset for help on using the changeset viewer.