Add a comment about ref cycles.

This commit is contained in:
smfr%smfr.org 2005-07-24 23:03:59 +00:00
Родитель c6ced2ce5a
Коммит 15bd1f3f5d
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -512,6 +512,8 @@ static id gSharedProgressController = nil;
- (void)setupDownloadTimer
{
[self killDownloadTimer];
// note that this sets up a retain cycle between |self| and the timer,
// which has to be broken out of band, before we'll be dealloc'd.
mDownloadTimer = [[NSTimer scheduledTimerWithTimeInterval:1.0
target:self
selector:@selector(setDownloadProgress:)