Changeset 11607 for trunk/macosx/Controller.m
- Timestamp:
- Dec 30, 2010, 12:33:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r11556 r11607 1912 1912 - (void) torrentFinishedDownloading: (NSNotification *) notification 1913 1913 { 1914 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 1915 1914 1916 Torrent * torrent = [notification object]; 1915 1917 … … 1952 1954 1953 1955 [self updateTorrentsInQueue]; 1956 1957 [pool drain]; 1954 1958 } 1955 1959 1956 1960 - (void) torrentRestartedDownloading: (NSNotification *) notification 1957 1961 { 1962 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 1963 1958 1964 Torrent * torrent = [notification object]; 1959 1965 if ([torrent isActive] && [fDefaults boolForKey: @"Queue"] && [self numToStartFromQueue: YES] == 0) … … 1964 1970 1965 1971 [self updateTorrentsInQueue]; 1972 1973 [pool drain]; 1966 1974 } 1967 1975 1968 1976 - (void) torrentFinishedSeeding: (NSNotification *) notification 1969 1977 { 1978 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; 1979 1970 1980 Torrent * torrent = [notification object]; 1971 1981 … … 1998 2008 description: [torrent name] notificationName: GROWL_SEEDING_COMPLETE 1999 2009 iconData: nil priority: 0 isSticky: NO clickContext: clickContext]; 2010 2011 [pool drain]; 2000 2012 } 2001 2013
Note: See TracChangeset
for help on using the changeset viewer.