From: Charles Yin Date: Fri, 13 Jan 2012 00:47:25 +0000 (+1000) Subject: Don't delete global app X-Git-Tag: qt-v5.0.0-alpha1~685 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d9ecb7345c23cff097ea1a83a829673e220b400f;p=profile%2Fivi%2Fqtdeclarative.git Don't delete global app Sometimes delete the global GUI app causes crash, this is a work around fix. Change-Id: Ic2406e7a085483de5d96321de8257663925b7e5e Reviewed-by: Michael Brasser --- diff --git a/src/qmltest/quicktest.cpp b/src/qmltest/quicktest.cpp index a1f06ba..7ec4fc4 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(); }