aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest/quicktest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmltest/quicktest.cpp')
-rw-r--r--src/qmltest/quicktest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp
index a1f06baa39..7ec4fc4aef 100644
--- a/src/qmltest/quicktest.cpp
+++ b/src/qmltest/quicktest.cpp
@@ -379,7 +379,10 @@ int quick_test_main(int argc, char **argv, const char *name, quick_test_viewport
saveCoverageTool(argv[0], QuickTestResult::exitCode());
- delete app;
+ //Sometimes delete app cause crash here with some qpa plugins,
+ //so we comment the follow line out to make them happy.
+ //delete app;
+
// Return the number of failures as the exit code.
return QuickTestResult::exitCode();
}