Fix leaking of script engine

This commit is contained in:
Benau 2016-10-11 00:11:45 +08:00
parent 1a9a4c626e
commit 6750fb3c94

View File

@ -485,6 +485,8 @@ World::~World()
if(m_physics)
delete m_physics;
delete m_script_engine;
m_world = NULL;
irr_driver->getSceneManager()->clear();