Clean up listener in destruction of OgrePlatform (Fixes #2145)

loadfix
scrawl 10 years ago
parent 5f5fcc2fef
commit ad38345de4

@ -54,6 +54,8 @@ namespace sh
OgrePlatform::~OgrePlatform ()
{
Ogre::MaterialManager::getSingleton().removeListener(this);
delete sSerializer;
}

Loading…
Cancel
Save