Changeset 2226


Ignore:
Timestamp:
Jun 29, 2007, 1:59:14 AM (15 years ago)
Author:
livings124
Message:

remove some nslogs

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r2225 r2226  
    312312                [fTorrents addObject: torrent];
    313313                [torrent release];
    314                 NSLog(@"history restore: %u", (long)[torrent retainCount]);
    315314            }
    316315       
     
    546545    //save history and stop running torrents
    547546    [self updateTorrentHistory];
    548     #warning check if all torrents are fully released
    549     //Torrent * torrent = [fTorrents objectAtIndex: 0];
    550     //NSLog(@"%d", (long)[torrent retainCount]);
    551547    [fDisplayedTorrents removeAllObjects];
    552    
    553     enumerator = [fTorrents objectEnumerator];
    554     //Torrent * torrent;
    555     /*while ((torrent = [enumerator nextObject]))
    556         [torrent endTorrent];*/
    557    
    558548    [fTorrents removeAllObjects];
    559     //NSLog(@"%d", (long)[torrent retainCount]);
     549   
    560550    //disable NAT traversal
    561551    tr_natTraversalEnable(fLib, 0);
     
    11251115        if (!lowestOrderValue || [lowestOrderValue compare: currentOrderValue] == NSOrderedDescending)
    11261116            lowestOrderValue = currentOrderValue;
    1127         NSLog(@"before");
     1117       
    11281118        [fTorrents removeObject: torrent];
    1129         [fDisplayedTorrents removeObject: torrent];NSLog(@"after");
     1119        [fDisplayedTorrents removeObject: torrent];
    11301120    }
    11311121    [torrents release];
  • trunk/macosx/InfoWindowController.m

    r2225 r2226  
    631631    }
    632632   
     633    #warning disable if all can't be checked
    633634    if (action == @selector(setOnlySelectedCheck:))
    634635        return [fFileOutline selectedRow] != -1;
  • trunk/macosx/Torrent.m

    r2225 r2226  
    191191- (void) dealloc
    192192{
    193     NSLog(@"Released!");
    194     NSLog(@"%d", (long)[self retainCount]);
    195193    if (fHandle)
    196194    {
     
    14781476        return nil;
    14791477   
    1480     NSLog(@"init %d", (long)[self retainCount]);
    14811478    static_lastid++;
    14821479    fID = static_lastid;
     
    15881585    for (i = 0; i < MAX_PIECES; i++)
    15891586        fPieces[i] = BLANK_PIECE;
    1590     NSLog(@"end1 %d", (long)[self retainCount]);
     1587   
    15911588    [self update];
    1592     NSLog(@"end2 %d", (long)[self retainCount]);
    15931589    return self;
    15941590}
Note: See TracChangeset for help on using the changeset viewer.