Showing the changes to interface/src/Application.cpp (1 of 16 files). Show all
Unified · Split
| @@ -2688,7 +2688,7 @@ void Application::cleanupBeforeQuit() { · 2687 unmodified lines | |||
| 2688 | auto nodeList = DependencyManager::get<NodeList>(); | 2688 | auto nodeList = DependencyManager::get<NodeList>(); |
| 2689 | 2689 | ||
| 2690 | // send the domain a disconnect packet, force stoppage of domain-server check-ins | 2690 | // send the domain a disconnect packet, force stoppage of domain-server check-ins |
| 2691 | nodeList->getDomainHandler().disconnect(); | 2691 | nodeList->getDomainHandler().disconnect("Quitting"); |
| 2692 | nodeList->setIsShuttingDown(true); | 2692 | nodeList->setIsShuttingDown(true); |
| 2693 | 2693 | ||
| 2694 | // tell the packet receiver we're shutting down, so it can drop packets | 2694 | // tell the packet receiver we're shutting down, so it can drop packets |
| @@ -5537,7 +5537,7 @@ void Application::pauseUntilLoginDetermined() { · 2842 unmodified lines | |||
| 5537 | cameraModeChanged(); | 5537 | cameraModeChanged(); |
| 5538 | 5538 | ||
| 5539 | // disconnect domain handler. | 5539 | // disconnect domain handler. |
| 5540 | nodeList->getDomainHandler().disconnect(); | 5540 | nodeList->getDomainHandler().disconnect("Pause until login determined"); |
| 5541 | 5541 | ||
| 5542 | // From now on, it's permissible to call resumeAfterLoginDialogActionTaken() | 5542 | // From now on, it's permissible to call resumeAfterLoginDialogActionTaken() |
| 5543 | _resumeAfterLoginDialogActionTaken_SafeToRun = true; | 5543 | _resumeAfterLoginDialogActionTaken_SafeToRun = true; |
| @@ -5916,7 +5916,7 @@ void Application::reloadResourceCaches() { · 372 unmodified lines | |||
| 5916 | DependencyManager::get<TextureCache>()->refreshAll(); | 5916 | DependencyManager::get<TextureCache>()->refreshAll(); |
| 5917 | DependencyManager::get<recording::ClipCache>()->refreshAll(); | 5917 | DependencyManager::get<recording::ClipCache>()->refreshAll(); |
| 5918 | 5918 | ||
| 5919 | DependencyManager::get<NodeList>()->reset(); // Force redownload of .fst models | 5919 | DependencyManager::get<NodeList>()->reset("Reloading resources"); // Force redownload of .fst models |
| 5920 | 5920 | ||
| 5921 | DependencyManager::get<ScriptEngines>()->reloadAllScripts(); | 5921 | DependencyManager::get<ScriptEngines>()->reloadAllScripts(); |
| 5922 | getOffscreenUI()->clearCache(); | 5922 | getOffscreenUI()->clearCache(); |