Changeset 6256


Ignore:
Timestamp:
Jun 26, 2008, 3:53:42 AM (13 years ago)
Author:
livings124
Message:

when stopping all downloads (of torrent files) on quit, get an enumerator straight from the dictionary instead of first generating an array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r6255 r6256  
    567567    if (fPendingTorrentDownloads)
    568568    {
    569         NSEnumerator * downloadEnumerator = [[fPendingTorrentDownloads allValues] objectEnumerator];
     569        NSEnumerator * downloadEnumerator = [fPendingTorrentDownloads objectEnumerator];
    570570        NSDictionary * downloadDict;
    571571        while ((downloadDict = [downloadEnumerator nextObject]))
Note: See TracChangeset for help on using the changeset viewer.