Camino only:
Potential fix for bug 322374: fix occasional crash when clearing download items by nulling out the controller on the progress views. Patch by Nick Kreeger. git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@187671 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -190,6 +190,10 @@ static void FileSystemNotificationProc(FNMessage message, OptionBits flags, void
|
||||
mDownloader->DetachDownloadDisplay();
|
||||
NS_RELEASE(mDownloader);
|
||||
}
|
||||
|
||||
// the views might outlive us, so clear refs to us
|
||||
[mCompletedView setController:nil];
|
||||
[mProgressView setController:nil];
|
||||
|
||||
[self unsubscribeFileSystemNotification];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user