mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
Ensure the frame timer doesn't re-engage on exit
This commit is contained in:
parent
f51a259909
commit
74cf4b57b3
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue