openframeworks/openFrameworks — pull request #2266 by arturoc (2013-07-16 11:24:25+00:00)
Title: ofxAssimpModelLoader: hack to fix crash on exit

assimp has a bug that makes it crash the app if the scene is released while the application is finishing. probably a static variable being used while destroying the scene that doesn't exist anymore

this adds a listener to OF's exit event and clears the scene before the application begins to destroy variables so it doesn't crash