Destroy render loop when QCoreApplication is cleaned up.
authorGunnar Sletta <gunnar.sletta@jollamobile.com>
Fri, 28 Mar 2014 13:52:26 +0000 (13:52 +0000)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 29 Mar 2014 06:35:29 +0000 (07:35 +0100)
commitc19962a142c529998ff7c6261fa098f33c646c3d
tree56c31b439c57d148384ce10a14e4e943f6ce9b93
parent8b371173c4fed7df453a0e352af54e3363709d4b
Destroy render loop when QCoreApplication is cleaned up.

Doing it on 'aboutToQuit' meant we would clean it up whenever an
application ran QCoreApp::exec() which could be multiple times
per application run.

Change-Id: I59e06398a551ae7979e3832dff811937037fa106
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
src/quick/scenegraph/qsgrenderloop.cpp
src/quick/scenegraph/qsgrenderloop_p.h