mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
fixed a crash on IE page refresh to address Jira POTCOWEB-1497: Browser crash after creating a new account and hit play button to enter the game
This commit is contained in:
parent
edffdd95ff
commit
debb5223cc
@ -159,7 +159,7 @@ BOOL CP3DActiveXCtrl::CP3DActiveXCtrlFactory::UpdateRegistry(BOOL bRegister)
|
||||
|
||||
// CP3DActiveXCtrl::CP3DActiveXCtrl - Constructor
|
||||
|
||||
CP3DActiveXCtrl::CP3DActiveXCtrl() : m_pPandaObject( NULL ), m_instance( *this )
|
||||
CP3DActiveXCtrl::CP3DActiveXCtrl() : m_instance( *this ), m_pPandaObject( NULL )
|
||||
{
|
||||
InitializeIIDs(&IID_DP3DActiveX, &IID_DP3DActiveXEvents);
|
||||
// TODO: Initialize your control's instance data here.
|
||||
@ -173,7 +173,7 @@ CP3DActiveXCtrl::~CP3DActiveXCtrl()
|
||||
// TODO: Cleanup your control's instance data here.
|
||||
if ( m_pPandaObject )
|
||||
{
|
||||
delete m_pPandaObject;
|
||||
m_pPandaObject->Release();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user