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