Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1471,6 +1471,10 @@ void Application::checkFPS() { · 1470 unmodified lines | |||
| 1471 | 1471 | ||
| 1472 | void Application::idle() { | 1472 | void Application::idle() { |
| 1473 | PerformanceTimer perfTimer("idle"); | 1473 | PerformanceTimer perfTimer("idle"); |
| 1474 | |||
| 1475 | if (_aboutToQuit) { | ||
| 1476 | return; // bail early, nothing to do here. | ||
| 1477 | } | ||
| 1474 | 1478 | ||
| 1475 | // Normally we check PipelineWarnings, but since idle will often take more than 10ms we only show these idle timing | 1479 | // Normally we check PipelineWarnings, but since idle will often take more than 10ms we only show these idle timing |
| 1476 | // details if we're in ExtraDebugging mode. However, the ::update() and it's subcomponents will show their timing | 1480 | // details if we're in ExtraDebugging mode. However, the ::update() and it's subcomponents will show their timing |