Fixing bug 375420, Downloaded files stay open and can' t be deleted in Finder. Remove file tracking once a file is removed from the original location.
This commit is contained in:
Родитель
c3c23acaf2
Коммит
86ec0421fb
|
@ -550,6 +550,11 @@ enum {
|
|||
mRefreshIcon = YES;
|
||||
[self refreshDownloadInfo];
|
||||
}
|
||||
|
||||
// Unsubscribe our notice if the file has moved and is currently watched.
|
||||
// This call is made to work around a bug in kqueue in OS X 10.3 (see bug 375420).
|
||||
if (!fileExists && mFileIsWatched)
|
||||
[self unsubscribeFileSystemNotification];
|
||||
}
|
||||
|
||||
-(void)setProgressViewFromDictionary:(NSDictionary*)aDict
|
||||
|
|
Загрузка…
Ссылка в новой задаче