Fixed: use-after-free on deleted mouse pointer

--HG--
branch : develop
This commit is contained in:
Nimetu 2019-04-14 15:01:18 +03:00
parent 1fde33cf8f
commit 9254e794e1

View file

@ -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();