Fix for crash when object frame goes away but stream is still going bug 99569 r=av sr=attinasi

git-svn-id: svn://10.0.0.236/trunk@104080 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterlubczynski%netscape.com
2001-09-28 03:34:53 +00:00
parent 34002614aa
commit 8798e2a775
3 changed files with 18 additions and 3 deletions

View File

@@ -3256,6 +3256,9 @@ nsPluginInstanceOwner::Destroy()
else NS_ASSERTION(PR_FALSE, "plugin was not an event listener");
}
else NS_ASSERTION(PR_FALSE, "plugin had no content");
mOwner = nsnull; // break relationship between frame and plugin instance owner
return NS_OK;
}