Fix leaking of script engine
This commit is contained in:
parent
1a9a4c626e
commit
6750fb3c94
@ -485,6 +485,8 @@ World::~World()
|
|||||||
if(m_physics)
|
if(m_physics)
|
||||||
delete m_physics;
|
delete m_physics;
|
||||||
|
|
||||||
|
delete m_script_engine;
|
||||||
|
|
||||||
m_world = NULL;
|
m_world = NULL;
|
||||||
|
|
||||||
irr_driver->getSceneManager()->clear();
|
irr_driver->getSceneManager()->clear();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user