aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/moduleplugin.qrc
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-12-04 10:54:20 +0100
committerUlf Hermann <ulf.hermann@qt.io>2019-06-25 15:52:47 +0200
commitabfa03d7021aabe22f46a04d2b9d9f6adff2478a (patch)
tree11bd1ddfa91c35f128f51c3500d7761a80ceddbf /tests/auto/qml/qqmlenginecleanup/CustomModuleImport/moduleplugin.qrc
parent82f126599b7b087f96622b91017a11caa496389f (diff)
Unregister unit cache hook when destroying the plugin singleton
At the point the plugin is actually unloaded the hook turns into a dangling pointer. Fixes: QTBUG-71387 Change-Id: Ib8ccee3f9a86d4700fbea7e87c666cd8f30f71e4 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/auto/qml/qqmlenginecleanup/CustomModuleImport/moduleplugin.qrc')
-rw-r--r--tests/auto/qml/qqmlenginecleanup/CustomModuleImport/moduleplugin.qrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/moduleplugin.qrc b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/moduleplugin.qrc
new file mode 100644
index 0000000000..c8f7dea691
--- /dev/null
+++ b/tests/auto/qml/qqmlenginecleanup/CustomModuleImport/moduleplugin.qrc
@@ -0,0 +1,5 @@
+<RCC>
+ <qresource prefix="/">
+ <file>ModuleType.qml</file>
+ </qresource>
+</RCC>