i'm using the xcode 4 template and ogre 1.8 and i have a problem:
OgreFramework destructor has :
Code: Select all
#ifdef OGRE_STATIC_LIB
m_StaticPluginLoader.unload();
#endif
if(m_pRoot) delete m_pRoot;
i get an error EXC_BAD_ACCESS at the 'delete root'
if i switch the lines i get an error in in the unload.
does the deletion of the root unloads the plugins?
is it ok to remove the unload line?
thanks alot!!