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