projects
/
platform
/
upstream
/
qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
692c0d3
)
Delete objects created by qmlplugindump
author
Daiwei Li
<daiweili@suitabletech.com>
Tue, 25 Mar 2014 08:07:46 +0000
(
01:07
-0700)
committer
Fawzi Mohamed
<fawzi.mohamed@digia.com>
Mon, 30 Jun 2014 09:10:27 +0000
(11:10 +0200)
This helps plugin objects to shut down cleanly
Change-Id: I167f63220a35a7428f50715a4cb9072320ef1c87
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
tools/qmlplugindump/main.cpp
patch
|
blob
|
history
diff --git
a/tools/qmlplugindump/main.cpp
b/tools/qmlplugindump/main.cpp
index
bc55c40
..
192c855
100644
(file)
--- a/
tools/qmlplugindump/main.cpp
+++ b/
tools/qmlplugindump/main.cpp
@@
-306,6
+306,7
@@
QSet<const QMetaObject *> collectReachableMetaObjects(QQmlEngine *engine,
std::cerr << "Got " << qPrintable( tyName )
<< " (" << qPrintable( QString::fromUtf8(ty->typeName()) ) << ")" << std::endl;
collectReachableMetaObjects(object, &metas);
+ object->deleteLater();
} else {
std::cerr << "Could not create" << qPrintable(tyName) << std::endl;
}