Ignore:
Timestamp:
Nov 2, 2007, 3:13:44 AM (15 years ago)
Author:
livings124
Message:

stop timers and notification checking on quit right away

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r3687 r3689  
    589589   
    590590    //wait for running transfers to stop and for NAT to be disabled (5 second timeout)
    591     NSDate * start = [NSDate date];
     591    NSDate * startDate = [NSDate date];
    592592   
    593593    tr_close(fLib);
    594594   
    595     while ([start timeIntervalSinceNow] >= -5.0 && tr_handleStatus(fLib)->natTraversalStatus != TR_NAT_TRAVERSAL_DISABLED)
     595    while ([startDate timeIntervalSinceNow] >= -5.0 && tr_handleStatus(fLib)->natTraversalStatus != TR_NAT_TRAVERSAL_DISABLED)
    596596        usleep(100000);
    597597   
Note: See TracChangeset for help on using the changeset viewer.