When the object goes away due to the last ref on the object, make sure to Destroy() so we free everything up that is usually done there.
git-svn-id: svn://10.0.0.236/trunk@65748 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
99c9a6173b
commit
8c8146c9a7
@ -1047,6 +1047,7 @@ nsPluginHostImpl::~nsPluginHostImpl()
|
||||
#ifdef NS_DEBUG
|
||||
printf("killing plugin host\n");
|
||||
#endif
|
||||
Destroy();
|
||||
if (nsnull != mPluginPath)
|
||||
{
|
||||
PR_Free(mPluginPath);
|
||||
|
||||
@ -1047,6 +1047,7 @@ nsPluginHostImpl::~nsPluginHostImpl()
|
||||
#ifdef NS_DEBUG
|
||||
printf("killing plugin host\n");
|
||||
#endif
|
||||
Destroy();
|
||||
if (nsnull != mPluginPath)
|
||||
{
|
||||
PR_Free(mPluginPath);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user