Fix GC hazards associated with event handlers on images only reachable from their current network loads, some of which are regressions from 241518. b=321054 r=darin sr=bzbarsky

This commit is contained in:
dbaron@dbaron.org
2006-06-01 18:35:21 +00:00
parent 6d8fb2454b
commit d99595e638
25 changed files with 366 additions and 61 deletions

View File

@@ -289,6 +289,7 @@ nsObjectLoadingContent::nsObjectLoadingContent()
nsObjectLoadingContent::~nsObjectLoadingContent()
{
DestroyImageLoadingContent();
if (mFrameLoader) {
mFrameLoader->Destroy();
}