Fixed: use-after-free on deleted mouse pointer
--HG-- branch : develop
This commit is contained in:
parent
1fde33cf8f
commit
9254e794e1
1 changed files with 2 additions and 0 deletions
|
@ -1381,6 +1381,8 @@ void CInterfaceManager::uninitInGame1 ()
|
||||||
reset();
|
reset();
|
||||||
CInterfaceLink::removeAllLinks();
|
CInterfaceLink::removeAllLinks();
|
||||||
|
|
||||||
|
CWidgetManager::getInstance()->setPointer( NULL );
|
||||||
|
|
||||||
// Release DDX manager, before DB remove
|
// Release DDX manager, before DB remove
|
||||||
CDDXManager::getInstance()->release();
|
CDDXManager::getInstance()->release();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue