Changeset 2243


Ignore:
Timestamp:
Jun 30, 2007, 1:19:57 PM (15 years ago)
Author:
charles
Message:

make decrementing the torrent count the last thing we do when destroying a torrent.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r2241 r2243  
    908908    tr_sharedLock( h->shared );
    909909
    910     h->torrentCount--;
    911 
    912910    tr_rwClose( &tor->lock );
    913911    tr_cpClose( tor->completion );
     
    931929
    932930    tr_free( tor );
     931
     932    h->torrentCount--;
    933933
    934934    tr_sharedUnlock( h->shared );
Note: See TracChangeset for help on using the changeset viewer.