diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-09-25 17:50:33 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-10-20 13:06:56 +0000 |
commit | ebceda0cad6d86f6d6fe5efbf85a3b06fb4222b0 (patch) | |
tree | ebeda6541a2b114c21016a1499ceed7f8bb56e1f /examples/quick/demos/stocqt/content/StockListView.qml | |
parent | 5a979e2d24b51e931a158062d322d0340e666bff (diff) |
QQmlTypeLoader: Drain events before shutting down the thread
We take references to types when sending events to the other thread. If
we don't process the events, the references are kept, which leads to
memory leaks. Therefore, when shutting down a QML engine, we have to
make sure the event queues are emptied.
Change-Id: Id8b0440029cfd7d03a9e540747eaedbcaa7c9ff3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'examples/quick/demos/stocqt/content/StockListView.qml')
0 files changed, 0 insertions, 0 deletions