1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-14 18:43:06 +00:00

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

This commit is contained in:
scrawl 2014-11-28 22:23:42 +01:00
parent 5f5fcc2fef
commit ad38345de4

View file

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