ulf.schroeter Posted November 6, 2010 Posted November 6, 2010 Problem Call of C++ interface function Engine::shutdown() does not delete internal engine instance. Therefore engine instance destructor with shutdown call does not get called (e.g. causing no saving of configuration changes) Possible fix Explicit delete of engine instance in EngineInterface destructor. File engine/api/Unigine.cpp class EngineInterface : public Engine, public Singleton<EngineInterface> { public: ..... virtual ~EngineInterface() { delete engine; } .....
frustum Posted November 8, 2010 Posted November 8, 2010 I can't understand the problem. We have such code in the EngineInterface class: virtual ~EngineInterface() { delete engine; }
ulf.schroeter Posted November 8, 2010 Author Posted November 8, 2010 I can't understand the problem. We have such code in the EngineInterface class: sorry, somehow we have droped it in our SVN.
Recommended Posts