Changeset 2453


Ignore:
Timestamp:
Jul 21, 2007, 6:03:24 PM (15 years ago)
Author:
charles
Message:

when closing torrents, don't try to re-stop torrents that are already stopped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r2452 r2453  
    932932void tr_torrentStop( tr_torrent_t * tor )
    933933{
    934     setRunState( tor, TR_RUN_STOPPING );
     934    if((tor->runStatus != TR_RUN_STOPPING) && (tor->runStatus != TR_RUN_STOPPED) )
     935        setRunState( tor, TR_RUN_STOPPING );
    935936}
    936937
Note: See TracChangeset for help on using the changeset viewer.