Fixing 46573, r=serge
git-svn-id: svn://10.0.0.236/trunk@75413 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user