mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 10:07:58 +02:00
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:
commit
61028d12b5
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ void GLCanvas::activeChanged(Qt::ApplicationState state) {
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// Otherwise, throttle.
|
// Otherwise, throttle.
|
||||||
if (!_throttleRendering) {
|
if (!_throttleRendering && !Application::getInstance()->isAboutToQuit()) {
|
||||||
_frameTimer.start(_idleRenderInterval);
|
_frameTimer.start(_idleRenderInterval);
|
||||||
_throttleRendering = true;
|
_throttleRendering = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue