projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
97e553d
)
Delete the rendering thread when shutting down
author
Gunnar Sletta
<gunnar.sletta@nokia.com>
Wed, 11 May 2011 10:54:41 +0000 (12:54 +0200)
committer
Gunnar Sletta
<gunnar.sletta@nokia.com>
Wed, 11 May 2011 11:16:01 +0000 (13:16 +0200)
src/declarative/items/qsgcanvas.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/items/qsgcanvas.cpp
b/src/declarative/items/qsgcanvas.cpp
index
15d301a
..
895cc16
100644
(file)
--- a/
src/declarative/items/qsgcanvas.cpp
+++ b/
src/declarative/items/qsgcanvas.cpp
@@
-922,8
+922,10
@@
QSGCanvas::~QSGCanvas()
{
Q_D(QSGCanvas);
- if (d->threadedRendering)
+ if (d->threadedRendering) {
d->stopRenderingThread();
+ delete d->thread;
+ }
// ### should we change ~QSGItem to handle this better?
// manually cleanup for the root item (item destructor only handles these when an item is parented)