Ignore:
Timestamp:
Apr 16, 2009, 1:10:25 PM (13 years ago)
Author:
charles
Message:

(trunk libT) #1992: try to cleanly destroy the "verify local data" thread on shutdown

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/verify.c

    r8175 r8244  
    270270}
    271271
    272 int
     272tr_bool
    273273tr_verifyInProgress( const tr_torrent * tor )
    274274{
    275     int found = FALSE;
     275    tr_bool found = FALSE;
    276276    tr_lock * lock = getVerifyLock( );
    277277    tr_lockLock( lock );
     
    313313}
    314314
     315void
     316tr_verifyClose( tr_session * session UNUSED )
     317{
     318    tr_lockLock( getVerifyLock( ) );
     319
     320    stopCurrent = TRUE;
     321    tr_list_free( &verifyList, tr_free );
     322
     323    tr_lockUnlock( getVerifyLock( ) );
     324}
Note: See TracChangeset for help on using the changeset viewer.