Changeset 3152


Ignore:
Timestamp:
Sep 23, 2007, 7:24:06 PM (15 years ago)
Author:
charles
Message:

fix crash-on-shutdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r3149 r3152  
    10051005    tr_sharedLock( h->shared );
    10061006
     1007    tr_peerMgrRemoveTorrent( h->peerMgr, tor->info.hash );
     1008
    10071009    tr_lockFree( tor->lock );
    10081010    tr_cpClose( tor->completion );
     
    10321034    tr_inf( "closing torrent %s... %d torrents left",
    10331035            tor->info.name, h->torrentCount );
    1034 
    1035     tr_peerMgrRemoveTorrent( h->peerMgr, tor->info.hash );
    10361036
    10371037    tr_metainfoFree( inf );
Note: See TracChangeset for help on using the changeset viewer.