Changeset 7810


Ignore:
Timestamp:
Jan 27, 2009, 2:01:04 AM (12 years ago)
Author:
charles
Message:

(trunk libT) possible fix for the transfers-not-loaded-on-startup issue introduced in r7806

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r7806 r7810  
    530530    tr_bencFree( &settings );
    531531
     532    session->isWaiting = TRUE;
    532533    tr_runInEventThread( session, tr_sessionInitImpl, session );
     534    while( session->isWaiting )
     535        tr_wait( 100 );
     536
    533537    return session;
    534538}
     
    543547
    544548    tr_statsInit( session );
    545 
    546549    session->web = tr_webInit( session );
    547 
    548550    metainfoLookupRescan( session );
     551    session->isWaiting = FALSE;
    549552}
    550553
  • trunk/libtransmission/session.h

    r7720 r7810  
    6565    tr_bool                      isProxyAuthEnabled;
    6666    tr_bool                      isClosed;
     67    tr_bool                      isWaiting;
    6768    tr_bool                      useLazyBitfield;
    6869
Note: See TracChangeset for help on using the changeset viewer.