Ensure the frame timer doesn't re-engage on exit

This commit is contained in:
Brad Davis 2015-04-06 11:09:43 -07:00
parent f51a259909
commit 74cf4b57b3

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;
}