Changeset 3692


Ignore:
Timestamp:
Nov 2, 2007, 3:05:20 PM (14 years ago)
Author:
livings124
Message:

fix a possible small release-then-use

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r3690 r3692  
    593593    NSDate * startDate = [NSDate date];
    594594   
    595     tr_close(fLib);
    596    
    597595    while ([startDate timeIntervalSinceNow] >= -5.0 && tr_handleStatus(fLib)->natTraversalStatus != TR_NAT_TRAVERSAL_DISABLED)
    598596        usleep(100000);
    599597   
     598    //remaining calls the same as dealloc
    600599    [fInfoController release];
    601600    [fMessageController release];
     
    612611    [fPendingTorrentDownloads release];
    613612    [fTempTorrentFiles release];
     613   
     614    tr_close(fLib);
    614615}
    615616
Note: See TracChangeset for help on using the changeset viewer.