Change-Id: I680af9ccb417d3162277b5740a129ecd77feee7f
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
+ /* The threaded renderer will clean up the nodes which will fire
+ sceneGraphChanged events through back to the canvas. This signal
+ is connected to maybeUpdate which should only be called from GUI or during
+ updatePaintNode(), so disconnect them before starting the shutdown
+ */
+ disconnect(d->context->renderer(), SIGNAL(sceneGraphChanged()), this, SLOT(maybeUpdate()));
if (d->thread->isRunning()) {
d->thread->stopRendering();
delete d->thread;
if (d->thread->isRunning()) {
d->thread->stopRendering();
delete d->thread;