History

Merge pull request #6587 from jherico/rigel

Fix crashes on exit due to poor cleanup

Brad Hefta-Gaub committed 10 years ago

Commit 4cbbd252 parents 742288c b7aeb343 files · +18 −0Browse files

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

Unified · Split

interface/src/Application.cpp+5−0
@@ -1077,6 +1077,11 @@ void Application::initializeUi() { · 1076 unmodified lines
10771077 }
10781078
10791079 void Application::paintGL() {
1080+ // paintGL uses a queued connection, so we can get messages from the queue even after we've quit
1081+ // and the plugins have shutdown
1082+ if (_aboutToQuit) {
1083+ return;
1084+ }
10801085 _frameCount++;
10811086
10821087 // update fps moving average