in Application dtor
Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -65,6 +65,7 @@ · 64 unmodified lines | ||
| 65 | 65 | #include <HFBackEvent.h> |
| 66 | 66 | #include <LogHandler.h> |
| 67 | 67 | #include <MainWindow.h> |
| 68 | +#include <ModelEntityItem.h> | |
| 68 | 69 | #include <NetworkAccessManager.h> |
| 69 | 70 | #include <OctalCode.h> |
| 70 | 71 | #include <OctreeSceneStats.h> |
| @@ -565,6 +566,8 @@ Application::~Application() { · 494 unmodified lines | ||
| 565 | 566 | Menu::getInstance()->deleteLater(); |
| 566 | 567 | |
| 567 | 568 | _myAvatar = NULL; |
| 569 | + | |
| 570 | + ModelEntityItem::cleanupLoadedAnimations() ; | |
| 568 | 571 | |
| 569 | 572 | DependencyManager::destroy<GLCanvas>(); |
| 570 | 573 | DependencyManager::destroy<AnimationCache>(); |