forked from teamnwah/openmw-tes3coop
Clean up listener in destruction of OgrePlatform (Fixes #2145)
This commit is contained in:
parent
5f5fcc2fef
commit
ad38345de4
1 changed files with 2 additions and 0 deletions
2
extern/shiny/Platforms/Ogre/OgrePlatform.cpp
vendored
2
extern/shiny/Platforms/Ogre/OgrePlatform.cpp
vendored
|
@ -54,6 +54,8 @@ namespace sh
|
|||
|
||||
OgrePlatform::~OgrePlatform ()
|
||||
{
|
||||
Ogre::MaterialManager::getSingleton().removeListener(this);
|
||||
|
||||
delete sSerializer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue