Merge pull request #4427 from ZappoMan/crashonexit

fix crash on exit related to AvatarManager using TextureCach resources
This commit is contained in:
Stephen Birarda 2015-03-11 17:11:56 -07:00
commit 943670285c

View file

@ -612,7 +612,8 @@ Application::~Application() {
// stop the glWidget frame timer so it doesn't call paintGL
_glWidget->stopFrameTimer();
DependencyManager::destroy<AvatarManager>();
DependencyManager::destroy<AnimationCache>();
DependencyManager::destroy<TextureCache>();
DependencyManager::destroy<GeometryCache>();