зеркало из https://github.com/mozilla/gecko-dev.git
bug 61287 (The browser crashes on signing out of hotmail and msn calendar)
r=karnaze sr=buster patch submitted by lsv@sparc.spb.su
This commit is contained in:
Родитель
23e19ed702
Коммит
cea85e5999
|
@ -261,6 +261,10 @@ nsFrameImageLoader::StopImageLoad(PRBool aStopChrome)
|
|||
printf("\n");
|
||||
#endif
|
||||
if (mImageRequest) {
|
||||
// can't kill the image request if we're in the middle of a notification
|
||||
if (mNotifyLockCount) {
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
mImageRequest->RemoveObserver(this);
|
||||
NS_RELEASE(mImageRequest);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче