Merge pull request #4600 from jherico/render_crash_on_exit

Ensure the frame timer doesn't re-engage on exit
This commit is contained in:
Clément Brisset 2015-04-07 22:17:47 +02:00
commit 61028d12b5

View file

@ -123,7 +123,7 @@ void GLCanvas::activeChanged(Qt::ApplicationState state) {
default:
// Otherwise, throttle.
if (!_throttleRendering) {
if (!_throttleRendering && !Application::getInstance()->isAboutToQuit()) {
_frameTimer.start(_idleRenderInterval);
_throttleRendering = true;
}