Showing the changes to interface/src/Application.cpp (1 of 2 files). Show all
Unified · Split
| @@ -2836,20 +2836,17 @@ void Application::cleanupBeforeQuit() { · 2835 unmodified lines | ||
| 2836 | 2836 | } |
| 2837 | 2837 | |
| 2838 | 2838 | Application::~Application() { |
| 2839 | − qCInfo(interfaceapp) << "HRS FIXME Quit 1"; | |
| 2840 | 2839 | // remove avatars from physics engine |
| 2841 | 2840 | auto avatarManager = DependencyManager::get<AvatarManager>(); |
| 2842 | 2841 | avatarManager->clearOtherAvatars(); |
| 2843 | 2842 | auto myCharacterController = getMyAvatar()->getCharacterController(); |
| 2844 | 2843 | myCharacterController->clearDetailedMotionStates(); |
| 2845 | − qCInfo(interfaceapp) << "HRS FIXME Quit 2"; | |
| 2846 | 2844 | |
| 2847 | 2845 | PhysicsEngine::Transaction transaction; |
| 2848 | 2846 | avatarManager->buildPhysicsTransaction(transaction); |
| 2849 | 2847 | _physicsEngine->processTransaction(transaction); |
| 2850 | 2848 | avatarManager->handleProcessedPhysicsTransaction(transaction); |
| 2851 | 2849 | avatarManager->deleteAllAvatars(); |
| 2852 | − qCInfo(interfaceapp) << "HRS FIXME Quit 3"; | |
| 2853 | 2850 | |
| 2854 | 2851 | _physicsEngine->setCharacterController(nullptr); |
| 2855 | 2852 | |
| @@ -2860,12 +2857,9 @@ Application::~Application() { · 4 unmodified lines | ||
| 2860 | 2857 | // shutdown graphics engine |
| 2861 | 2858 | _graphicsEngine.shutdown(); |
| 2862 | 2859 | |
| 2863 | − qCInfo(interfaceapp) << "HRS FIXME Quit 4"; | |
| 2864 | 2860 | _gameWorkload.shutdown(); |
| 2865 | − qCInfo(interfaceapp) << "HRS FIXME Quit 5"; | |
| 2866 | 2861 | |
| 2867 | 2862 | DependencyManager::destroy<Preferences>(); |
| 2868 | − qCInfo(interfaceapp) << "HRS FIXME Quit 6"; | |
| 2869 | 2863 | #ifdef Q_OS_MAC |
| 2870 | 2864 | DependencyManager::destroy<MacHelper>(); |
| 2871 | 2865 | #endif |