mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-10-04 22:56:30 +00:00
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 ()
|
OgrePlatform::~OgrePlatform ()
|
||||||
{
|
{
|
||||||
|
Ogre::MaterialManager::getSingleton().removeListener(this);
|
||||||
|
|
||||||
delete sSerializer;
|
delete sSerializer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue