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:
tbogard%aol.net 2000-04-13 02:52:34 +00:00
parent 99c9a6173b
commit 8c8146c9a7
2 changed files with 2 additions and 0 deletions

View File

@ -1047,6 +1047,7 @@ nsPluginHostImpl::~nsPluginHostImpl()
#ifdef NS_DEBUG
printf("killing plugin host\n");
#endif
Destroy();
if (nsnull != mPluginPath)
{
PR_Free(mPluginPath);

View File

@ -1047,6 +1047,7 @@ nsPluginHostImpl::~nsPluginHostImpl()
#ifdef NS_DEBUG
printf("killing plugin host\n");
#endif
Destroy();
if (nsnull != mPluginPath)
{
PR_Free(mPluginPath);