Fixing 46573, r=serge

git-svn-id: svn://10.0.0.236/trunk@75413 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
av%netscape.com
2000-08-02 21:35:45 +00:00
parent bb99fd6686
commit 9ef05d47be
6 changed files with 52 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ CPlugin::CPlugin(HINSTANCE hInst,
m_hInst(hInst),
m_hWnd(NULL),
m_hWndParent(NULL),
m_hWndDialog(NULL),
m_hIcon(NULL),
m_pNPMIMEType(NULL),
m_szPageURL(NULL),
@@ -232,6 +233,12 @@ void CPlugin::shut()
{
dbgOut1("CPlugin::shut()");
if(m_hWndDialog != NULL)
{
EndDialog(m_hWndDialog, IDCANCEL);
m_hWndDialog = NULL;
}
if(m_hWnd != NULL)
{
DestroyWindow(m_hWnd);