History

don't do idle process and painting if we're shutting down the application

ZappoMan committed 11 years ago

Commit 89f7f2d1 parent 87576001 file · +4 −0Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+4−0
@@ -1471,6 +1471,10 @@ void Application::checkFPS() { · 1470 unmodified lines
1471 1471
1472void Application::idle() {1472void 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 timing1479 // 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 timing1480 // details if we're in ExtraDebugging mode. However, the ::update() and it's subcomponents will show their timing

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t